Evan Haas b4bf3bdf7e std.fmt: Fix incorrect behavior with large floating point integers.
I consider this an interim workaround/hack until #1299 is finished.

There is a bug in the original C implementation of the errol3 (and errol4)
algorithm that can result in undefined behavior or an obviously incorrect
result (leading ':' in the output)

This change checks for those two problems and uses a slower fallback
path if they occur. I can't guarantee that this will always produce
the correct result, but since the workaround is only used if the original
algorithm is guaranteed to fail, it should never turn a previously-correct
result into an incorrect one.

Fixes #11283
2022-04-04 16:04:35 -04:00
..
2022-03-15 13:49:41 -04:00
2022-03-08 20:38:12 +02:00
2022-03-08 20:38:12 +02:00
2022-03-23 16:31:03 -04:00
2022-03-08 20:38:12 +02:00
2022-01-07 00:06:06 -05:00
2022-04-04 15:34:27 +03:00
2022-03-27 11:28:44 +03:00
2022-02-24 18:51:44 -05:00
2022-01-30 21:27:52 +02:00
2022-01-07 00:06:06 -05:00