mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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.
19 lines
433 B
Text
19 lines
433 B
Text
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
#separator \x09
|
|
#set_separator ,
|
|
#empty_field (empty)
|
|
#unset_field -
|
|
#path test
|
|
#open XXXX-XX-XX-XX-XX-XX
|
|
#fields data
|
|
#types time
|
|
1234567890.000000
|
|
1234567890.000000
|
|
1234567890.010000
|
|
1234567890.001000
|
|
1234567890.000100
|
|
1234567890.000010
|
|
1234567890.000001
|
|
1234567890.000000
|
|
2.385642157e+09
|
|
#close XXXX-XX-XX-XX-XX-XX
|