-
Notifications
You must be signed in to change notification settings - Fork 9
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
comparisons require BigFloat
#40
Comments
|
Note that it wouldn't have helped anyway since JuliaLang/julia#55886 moved the effect annotations only to the known |
Comparisons seem to involve
BigFloat
conversions, which makes them way slower thanBase.Irrational
This seems to be causing JuliaMath/SpecialFunctions.jl#484
In contrast, it's way faster to compare after conversion of the irrational value to floating point:
I'm guessing this is some type of pedantry where you want to check that the exact rational floating-point value is
≤
the exact irrational value? Even so, can't you just compare to theRoundDown
conversion?(Why didn't you just use
Base.Irrational
, anyway?)The text was updated successfully, but these errors were encountered: