mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Improve formatting of doubles that are close to integers
Now checks for approximate floating point equality so that more doubles get properly disambiguated from integers
This commit is contained in:
parent
4375aa150f
commit
a785212e80
4 changed files with 13 additions and 6 deletions
|
@ -22,8 +22,8 @@
|
|||
178999999999999996376899522972626047077637637819240219954027593177370961667659291027329061638406108931437333529420935752785895444161234074984843178962619172326295244262722141766382622299223626438470088150218987997954747866198184686628013966119769261150988554952970462018533787926725176560021258785656871583744.0
|
||||
-178999999999999996376899522972626047077637637819240219954027593177370961667659291027329061638406108931437333529420935752785895444161234074984843178962619172326295244262722141766382622299223626438470088150218987997954747866198184686628013966119769261150988554952970462018533787926725176560021258785656871583744.0
|
||||
0.000012
|
||||
0
|
||||
-0
|
||||
0.0
|
||||
-0.0
|
||||
inf
|
||||
-inf
|
||||
0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue