[Issue 1681] cast(real) ulong.max == 0
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 20 07:15:11 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1681
------- Comment #5 from baryluk at mpi.int.pl 2008-01-20 09:15 -------
>
> The largest integer real which gives nonzero result after cast is
> 18446744073709550591.000000
> 18446744073709549568
> but as you can see it gives wrong result. Then it is skiping every 2048 (11
> bits), with some values correct:
53+11 = 64
--
More information about the Digitalmars-d-bugs
mailing list