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 other than +/- 0.0 #72

Open
eyalroz opened this issue Dec 10, 2021 · 0 comments
Open

Proper handling of denormals other than +/- 0.0 #72

eyalroz opened this issue Dec 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@eyalroz
Copy link
Owner

eyalroz commented Dec 10, 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 handled specifically, but nothing general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant