3 ms·
I wonder if they should all be exporting, if possible, up to DBL_DIG?
by andrewmcwatters 5y ago
I wonder if they should all be exporting, if possible, up to DBL_DIG?
- addaon 5y agoThe general rule for serializing floating point representations to strings is not to output a fixed number of digits (DBL_DIG or otherwise), but rather to output sufficient digits that your inverse operation of parsing gives a bitwise identical floating point number.