mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00

The modp_dtoa/modp_dtoa2 functions aren't capable of handling double values larger than INT_MAX and fallback on using sprintf() in that situation. Previously, the format string to that sprintf() was "%e", defaulting to a precision of 6, which is already too few digits to represent a number known to be larger than INT_MAX. Now, an sprintf() is still performed for values larger than INT_MAX and still uses a scientific notation format, but in a way that uses as many decimal digits as needed to preserve information.
10 lines
198 B
Text
10 lines
198 B
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
3.14e+15
|
|
-3.14e+15
|
|
4.000000e-308
|
|
0.000000e+00
|
|
-0.000000e+00
|
|
inf
|
|
-inf
|
|
nan
|
|
4.94e-324
|