-
Notifications
You must be signed in to change notification settings - Fork 71
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
Replacing CRlibm with CORE-MATH #592
Comments
havent forgotten, working hard hardly working |
I'm not sure that Core-Math can be used for our purporse, since it apparently requires using |
Also changing the processor's rounding mode is not thread-safe. I suggest reaching out to Paul Zimmermann to discuss this. (W e had an email conversation about it, but I dropped the ball.) |
Hmm, apparently the state of |
The other approach with this is performance. Changing the rounding mode clears out the processor pipeline (or at least used to?) so will be much slower (?) |
If I remember correctly he suggested using the prevfloat / next float approach for performance...! |
Interesting, thanks for pointing this out. |
In a recent triage call, we discussed replacing CRlibm with CORE-MATH, which provides a more complete set of correctly rounded functions.
On particular appeal is that they give a correctly rounded version of
pow
, which should fix long standing performance issues for powers in IntervalArithmetic.jl.@giordano I noticed that you created the CRlibm_jll binaries with Yggdrasil.jl. I tried to reproduce this on my computer today for core-math, but I am out of my depth here and could not make it work. The repository on GitLab is not a library per se, but it contains all the C functions. Do you think we can compile CORE-MATH into some CoreMath_jll binaries as easily?
The text was updated successfully, but these errors were encountered: