Re:Rendering floating numbers: advances in problems you didn...
by zozbot234 on Friday October 30, 2020 @02:53AM
(#24939805)
Unless you actually need to output human-readable numbers for some reason, the sensible approach when serializing floating point numbers is to just use hexfloats and skip the problematic "rendering" part altogether.
[ Parent
| on HN ]
Re:Rendering floating numbers: advances in problems you didn...
by benibela on Friday October 30, 2020 @08:02AM
(#24941316)
That is great, until you have to use JSON