-
Notifications
You must be signed in to change notification settings - Fork 55
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 output of denormalized numbers #176
Comments
The library does not currently handle denormals properly, see #72. Unfortunately I am somewhat indisposed to work on this at the moment, especially with the war and everything; but I would be more than happy to review a PR improving their handling. |
Right because of the wars I did change the license of my little projects now to one that prohibits any usage in weapons now. I wish you to get well over that war! |
You are right - it seems to be a duplicate. I didn't spot the other bug. War propaganda is always the same and most of the people usually are believing that. It will even gets worse the longer the war lasts. |
Just because I did spot that: vsprintf_(ps, "%+#27.6e", (double) 1.59456123e-317);
Should generate " +1.594561e-317" instead of " +0.000000e-309" .
Just a hint for solving that: While the mantissa is below 1 it needs to be multiplied by 10 until it's above 1 and the exponents needs to be decreased that often.
The text was updated successfully, but these errors were encountered: