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
We can replace %g / %lg with something like %.17g / %.17lg.
However it'll not guarantee that the precision will not loss. There are two points here:
%.17lg (unlike %.17lf) may choose the scientific notation for a large value. So, 111<...>111 will become 1.111<...>111e+X and the precision (17) will be applied to the 'fractional part' of the normalized value, not the original one.
Most users understand that binary floating point value may not preserve its original precision via decimal representation. "huge" means HUGE precision loss - out of acceptable dec<->bin transformations impact. Actually mp_snprint() must not be used for floating point numbers at all.
huge precision loss of
fiber.time()
values :(The text was updated successfully, but these errors were encountered: