You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. call modp_dtoa(1.95, s, 1);
2. call modp_dtoa(0.95, s, 1);
3. call modp_dtoa(0.9999995, s, 6);
What is the expected output? What do you see instead?
1. s = "1.1"
2. s = "1.0"
3. s = "1.0"
What do you see instead?
1. s = "1.10"
2. s = "0.1"
3. s = "0.1"
What version of the product are you using? On what operating system?
Windows 7, TDM-GCC 4.8.1 64-bit with -std=C99
Please provide any additional information below.
This causes issues for any values where the fractional part is recurring 9's
followed by a 5 and the precision length would cut off the 5.
Original issue reported on code.google.com by [email protected] on 10 Dec 2014 at 12:55
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 10 Dec 2014 at 12:55The text was updated successfully, but these errors were encountered: