floating point - What is the maximum storable float value with 9 decimal places? -
i wondering after max value float overflow given requirement of 9 decimal places
8,388,608, ieee-754 64-bit binary floating-point, known double
.
for values below magnitude, step size between adjacent representable values less 10-9, each number representable 9 decimal digits after decimal point can distinguished others.
above magnitude, step size large. next larger representable value 8,388,608.00000000186264514923095703125, see closer 8,388,608.000000002 8,388,608.000000001, not have floating-point value distinguishes 8,388,608.000000001 8,388,608.000000002 , 8,388,608.
for 32-bit, largest value .015625. 32-bit float
not useful.
Comments
Post a Comment