Re:Formatting floating point numbers
by datenwolf on Friday June 14, 2019 @09:34AM
(#20182809)
Byte ordering issues are easily addressed by still emitting text, but not converting to a base that differs in a prime factor. Just emit the mantissa and exponent in – say – hexadecimal form and the negative sign bit as a `-`. It avoids all the endianes issues and is trivially converted.
[ Parent
| on HN ]
There are no comments on this comment yet.