-
Notifications
You must be signed in to change notification settings - Fork 22
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
Implement DoubleDouble #18
Comments
@Shimuuar I am finding some packages that provide long double and arbitrary-precision operations:
|
there's a long-standing GHC ticket to add CLDouble support : https://gitlab.haskell.org/ghc/ghc/issues/3353 |
DoubleDouble (and triple double) is different approach. It's software emulation of something similar to quad precision.
Kahan's compensated summation is special case of this approach. I'm only aware of Julia's implementation of this algorithm |
@Shimuuar is this something you know how to implement? In case, would you like to do it? |
I have stack of papers on the subject, there's open source Julia implementation and no time to do anything :( |
It's way for emulating not quite quad-precision number using two doubles. Algorithms is interesting by itself and could have few uses. But I think its main value is providing example of constant size approximation of real numbers which isn't IEEE754. It would be very useful for implementing type classes for working with low level representations of numbers. Without such examples it's all to easy to assume that only single and double IEEE754 numbers exist
Julia implementation and references could be found here https://github.com/JuliaMath/DoubleDouble.jl
The text was updated successfully, but these errors were encountered: