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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -