H. S. Teoh wrote:

actually, there is a 3rd issue, which is often overlooked: conversion
from string to float. to get a perfect roundtrip, this one should be
done right too.
Doesn't hex output format (e.g. std.format's %a and %A) already solve
this?  It basically outputs the exact bits in hex. No room for error
there.
it does. but then you can simply go with writing binaries as-is -- they are not really less readable than hex floats. ;-) but we want decimals! ;-)

Reply via email to