-
-
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
Comparison with irrationals is not thread safe #52862
Comments
This problem is similar to #52859. At this place I think the fix is simple, just use specify the precision explicitly with However, the construction of Lines 212 to 240 in c5d7b87
|
In fact |
@nsajko you seem to have been working on some BigFloat related issues / PR. Do you think this can be addressed easily ? |
Pretty sure this is fixed already on v1.11, but not backportable to v1.10. Reopen if I'm wrong. |
Actually it should be fixed on v1.12 and up: #51362 Not sure if it's backportable to v1.11? EDIT: I think it should be backportable to v1.11, marked for backport. EDIT: seems you'll have to wait for v1.12. |
While investigating JuliaIntervals/IntervalArithmetic.jl#612, we found out that
<
hinges onsetrounding
which is not thread safe.MWE:
This example was run using Julia v1.10
The problem seems to be here
julia/base/irrationals.jl
Lines 99 to 101 in c5d7b87
cc @Kolaru and @dpsanders
The text was updated successfully, but these errors were encountered: