-
Notifications
You must be signed in to change notification settings - Fork 1
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
Better precision #4
Comments
The The The The best solution I see for now is to use |
Nevermind. Agh. |
Nearly there: rust-lang/rust#127027 This will be a nightly feature, but I'm okay with that. |
As a pretty important note, the math functions are completely broken on x86 due to LLVM bugs :( (LLVM incorrectly calls the Aarch64 works alright though! (Just came across this since I saw it crosslinked in the PR). |
That being said, depending on what your use case is and if you may need more than 128 bits of precision, something like an arbitrary-precision library may be a better fit https://docs.rs/rug/latest/rug/. |
Ooh, that's actually a really good point; thank you! :D |
f64
has run into overlow/underflow errors with my homework; advising switching toDecimal128
at suggestion of an LC member.The text was updated successfully, but these errors were encountered: