News for hackers. Stuff that matters.
Re:Formatting floating point numbers by roel_v on Friday June 14, 2019 @12:07PM (#20184102)
I don't know - I knew that my input data wouldn't have to deal with such cases so I didn't have to deal with / check for it. This was part of 'etc' catchall :)
Re:Formatting floating point numbers by tomxor on Friday June 14, 2019 @12:38PM (#20184341)
I guess an alternative is _always_ using e notation but don't bother moving the decimal, i.e effectively the same as the encoding but in base 10. That would be both simple and have small maximum string length.

Users probably wouldn't like it thought :P damn users.