Skip to content

3x2^96=237684487542793012780631851008 rather than 59421121885698253195157962752 #106

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FrogGuaGuaGua
Copy link

3x2^94= 59421121885698253195157962752,
3x2^96=237684487542793012780631851008

3x2^94=  59421121885698253195157962752,
3x2^96=237684487542793012780631851008
@jicama
Copy link
Contributor

jicama commented Dec 3, 2024

Thanks, I've reported this to glibc as https://sourceware.org/bugzilla/show_bug.cgi?id=32411

@technicaljicama
Copy link

Hello, I am the technical version of you

@DesWurstes
Copy link
Contributor

I've measured the impact of this bug as well as the potential benefit by the fix in my repo. https://github.com/DesWurstes/comparefloats I can't comment under the bug on Sourceware since I don't have an account there

@DesWurstes
Copy link
Contributor

DesWurstes commented Apr 10, 2025

Fixed in both GCC and Glibc, this can be closed now

Thank you Jason for posting the link to my repository

Thank you Jakub for committing the fix

@DesWurstes
Copy link
Contributor

Dear Jason @jicama The broken constant still remains in sysdeps/ieee754/ldbl-128ibm/e_expl.c could you please ask Jakub to apply the patch here as well?

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

Successfully merging this pull request may close these issues.

4 participants