-
Notifications
You must be signed in to change notification settings - Fork 140
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
accuracy of long double functions #236
Comments
I think it may be time to pull new versions from |
@zimmermann6 Is it possible for you to also test Julia in your comparisons? Julia increasingly does not rely on openlibm, but has native implementations. I would expect your test harness is C based, and so if Julia's libm exposed a C interface, you may be able to test Julia as well - and otherwise it would be difficult. |
if you tell me how to build a libm.a file for Julia (for x86_64 Linux) I can try |
Thanks. I'll need to put something together and send you instructions. May take me a few days to get there. |
any progress on that? |
Sorry - I haven't had the time to work on this. |
@zimmermann6 Are there open source implementations (MIT/BSD) that you are aware of that we can pull in to improve these functions? |
yes, on https://core-math.gitlabpages.inria.fr/ you will find such implementations (under a MIT license). Currently we have all C99 single precision functions implemented (correctly rounded) except the powf function (work in progress). Other formats will follow. Performance is comparable (if not better) to the GNU libc and the Intel Math library (which are not correctly rounded). |
with Openlibm 0.7.5 I still see the following issues for long double functions:
For all other functions, the maximal known error is 5.67 ulps
(see https://members.loria.fr/PZimmermann/papers/accuracy.pdf).
The text was updated successfully, but these errors were encountered: