Replacement for snprintf

Walter Bright newshound2 at digitalmars.com
Thu Oct 31 20:20:24 UTC 2019


On 10/31/2019 1:27 AM, drug wrote:
> In some cases it is much more productive to 
> have text representation of data than binary ones. Initially I believed too that 
> binary representation is the more suitable but afterwards I  was forced to use 
> text format and that gives me a good result.

To get round-trip 100% accuracy, print the floats in hex using the %A format.


More information about the Digitalmars-d mailing list