Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
wrong number of decimal places formatting mpf_float as fixed-point #113
I've encountered a bug where I get the wrong number of digits when formatting an mpf_float_50 as fixed precision:
This prints "99.9809" instead of the expected "99.981".
I traced into it a little and it looks like the code starts by calling
I've hacked my copy to check whether