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

Proper handling of denormals #119

Open
eyalroz opened this issue Aug 2, 2021 · 0 comments
Open

Proper handling of denormals #119

eyalroz opened this issue Aug 2, 2021 · 0 comments

Comments

@eyalroz
Copy link

eyalroz commented Aug 2, 2021

Denormal, or subnormal, floating-point numbers are those with an exponent of zero. Their implicit leading mantissa bit is 0, so one needs to look at their mantissa to determine their "true" exponent. And since printf()-like functions are required by the standard to print non-zero de-normals with a non-zero integral part before the decimal point - they must determine the true exponent.

This library doesn't do so. The worst case of this behavior is with 0.0 and -0.0: That's issue #54 . This is about properly handling all denormals (and covering their handling by some testcases).

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

1 participant