Skip to content
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

Wrong results in some FMA cases #11

Open
RalfJung opened this issue Sep 29, 2023 · 1 comment
Open

Wrong results in some FMA cases #11

RalfJung opened this issue Sep 29, 2023 · 1 comment

Comments

@RalfJung
Copy link
Member

Due to this being an exact port of the LLVM library, this crate is affected by llvm/llvm-project#63895: some FMA produce wrong results. This seems worth tracking on our side as well, if only to make it easier to find, given that "produces wrong result" is the worst kind of bug.

@beetrees
Copy link

I've posted a PR to fix this in LLVM at llvm/llvm-project#98721. I've also made a Rust port of the fix at https://github.com/beetrees/rustc_apfloat/tree/fix-mul-add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants