Precision of floating point number: floating-point numbers cannot exactly represent all real numbers, and that floating-point operations cannot exactly represent right value. It’s return approximate digit. It is called Precision of floating point number. The precision of floating point number will vary from one version to another. Almost all version of the language allow at least six significant figures.
i.e. 1.0 is a floating point number. It might be represented within the computer’s memory as 0.999999………, it is not accurate value of 1.0. However it might appear as 1.0
i.e. 1.0 is a floating point number. It might be represented within the computer’s memory as 0.999999………, it is not accurate value of 1.0. However it might appear as 1.0
Comments
Post a Comment
Give your valuable Comment...