June 23real.mant_dig on windows?
Should it always be 53? or it can be 64, when? Thank you
June 23Re: real.mant_dig on windows?
Posted in reply to 9il
On Tuesday, 23 June 2020 at 02:56:36 UTC, 9il wrote: > Should it always be 53? or it can be 64, when? > > Thank you For LDC, it's 53 (and .sizeof == 8) for MSVC targets, but 64 (x87) for MinGW, reflecting the accompanying C runtime's `long double`. [And IIRC, MS disallows any x87 usage in kernel code.] For DMD, it's always 64, it only has x87 reals.
Copyright © 1999-2018 by the D Language Foundation