How many bytes in a real ?

Xinok via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 24 17:13:26 PDT 2015


On Monday, 24 August 2015 at 21:55:40 UTC, Guillaume Chatelet 
wrote:
> On linux x86_64 : real.sizeof == 16 but it looks like only the 
> first the first 10 bytes are used (ie. 80bits)
>
> Is there a way to know the real size of a real ?

The best I can think of is to use the mant_dig property which 
returns the number of bits in the mantissa.

http://dpaste.dzfl.pl/9889b3d0bd5b


More information about the Digitalmars-d mailing list