-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Powers of Complex{T} are broken for non-AbstractFloat types T #28766
Labels
Comments
Note that this is a regression compared to 0.6. |
JeffBezanson
added
the
regression
Regression in behavior compared to a previous version
label
Sep 5, 2018
Seems to be pretty straightforward now, with each attempt printing out the next missing method:
And then covering other branches:
|
To me, it seems like we might be able to get better wrt generic special functions. Having fallback methods which use variable numbers of terms and check for convergence seems like a good improvement. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
z^2
is broken whenz::Complex{T}
with non-AbstractFloat
typesT
.This is similar to #22095 which was fixed by #25292.
Using the
FloatWrapper
type from that PR:we get the following on Julia 0.7, 1.0 and master:
(Note that display of the type of
z
is also broken without defining<
for the type, which seems strange.)The text was updated successfully, but these errors were encountered: