Printing shortest decimal form of floating point number with Mir
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Tue Jan 5 14:43:45 UTC 2021
On Tuesday, 5 January 2021 at 13:30:50 UTC, Guillaume Piolat
wrote:
> On Tuesday, 5 January 2021 at 09:47:41 UTC, Walter Bright wrote:
>>> The only D compiler that uses excess precision is DMD and
>>> only if -O flag is passed. The same example compiled with GDC
>>> uses write-read codes. LDC uses SSE codes.
>>
>> DMD still supports baseline 32 bit Windows that does not have
>> XMM registers.
>
> It would be nice if no excess precision was ever used.
Fun fact: in AIFF files the samplingrate is stored as a 80 bit
IEEE Standard 754 floating point. ;)
More information about the Digitalmars-d-announce
mailing list