std.data.json formal review
via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 14 05:11:00 PDT 2015
On Friday, 14 August 2015 at 11:44:35 UTC, Matthias Bentrup wrote:
> On Friday, 14 August 2015 at 09:20:14 UTC, Ola Fosheim Grøstad
> wrote:
>> On Friday, 14 August 2015 at 08:03:34 UTC, Walter Bright wrote:
>>> 1. 'real' has enough precision to hold 64 bit integers.
>>
>> Except for the lowest negative value…
>>
>> (it has only 63 bits + floating point sign bit)
>
> actually the x87 format has 64 mantissa bits, although the bit
> 63 is always '1' for normalized numbers.
Yes, Walter was right.
The most negative number can be represented since it is a -(2^63)
, so you only need the exponent to represent it (you only need 1
bit from the mantissa).
More information about the Digitalmars-d
mailing list