ledvinap opened this issue 5 years ago · 1 comments
Interesting edge case:
printf("%.1f", -.95); -> "00000000000000000000000000000010"
Fix is trivial, frac is not checked for overflow if diff==0.5
frac
diff==0.5