real.mant_dig on windows?

kinke noone at nowhere.com
Tue Jun 23 08:42:15 UTC 2020


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.


More information about the Digitalmars-d-learn mailing list