-
Notifications
You must be signed in to change notification settings - Fork 7
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
Long Doubles Aren't Supported Correctly #51
Comments
Hi @HazardousPeach , Is there a way to go around this issue? I tried to run herbgrind on one of my unittest and saw below. I guess it is related to long double?
checked with --print-semantic-ops, the last op is ScaleF64:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While fixing issue #49, I found that the
long double
type is actually supported by glibc's libm, and gcc on 64-bit platforms actually emulates 80-bit floats for it (source: https://gcc.gnu.org/onlinedocs/gcc-4.5.3/gcc/i386-and-x86_002d64-Options.html). Investigation needs to be done into whether it's feasible to support long double's in Herbgrind.The text was updated successfully, but these errors were encountered: