-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Rounding problem #1
Comments
I have commited new changes to develop branch that seem to work properly. Let's see if it works, it passed my tests for the moment. |
I still get rounding errors for values like 1022265.0 Additional a zero value ends up in a loop. There is small typo in lwprintf.h |
This has been fixed for the moment and it seems to work. Please check or post list of numbers where you see wrong data.
|
Hi, this approach will not work. |
If we add |
Hi, that will do it for me. There are still some values that can fail but the error is much smaller. |
By the way this one of the best solution I found. Also the documentation is great. |
%g does not round the values 5307575.0f or 1104515.0f correctly.
Result 5.30757e+6 but should be 5.30758e+6
The text was updated successfully, but these errors were encountered: