1.12000000000

1.12005678123

both have the same precision (11 digits after the decimal point).

Or are you concerned about the difference between those numbers? This is more likely to be a problem of change of base. For humans the decimal system is the one we are used to. Each digits can be 0-9. In the PC floating point numbers are represented similar to a scientific notation (1.12e0) but in a binary system. 1.12 seems to have no exact conversion to a floating point in the 2 base system. The nearest value is 1.12005678123. To test for equality using floats it is safer to use

if (fabs (x - 1.12) < 0.00001)

instead of

if (x == 1.12)

Was this your question?