At lunchtime, we began to discuss the accuracy of type values double.
My colleague believes that he always has 15 places after the decimal point.
In my opinion, this cannot be said because the IEEE 754 makes no assumptions about this, and it depends on where the first 1is in binary representation. (i.e. the size of the number to the decimal point too)
How to make a more qualified statement?
source
share