Why double.MaxValue is larger than long.MaxValue?
Posted
by cake
on Stack Overflow
See other posts from Stack Overflow
or by cake
Published on 2010-04-14T18:23:06Z
Indexed on
2010/04/14
18:33 UTC
Read the original article
Hit count: 183
double
both of them hold 8 bytes, but how come the max value for double is much greater than the max value of long? there is a finite number of bits available, so how could you reach greater numbers with floating point variables?
© Stack Overflow or respective owner