In the lunch break we started debating about the precision of the double
value type.
My colleague thinks, it always has 15 places after the decimal point.
In my opinion one can't tell, because IEEE 754 does not make assumptions
about this and it depends on where the first 1
is in the binary
representation. (i.e. the size of the number before the decimal point counts, too)
How can one make a more qualified statement?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…