Exact textual representation of an IEEE "double"
- by CyberShadow
I need to represent an IEEE 754-1985 double (64-bit) floating point number in a human-readable textual form, with the condition that the textual form can be parsed back into exactly the same (bit-wise) number.
Is this possible/practical to do without just printing the raw bytes?
If yes, code to do this would be much appreciated.