Float objects represent inexact real numbers using the native architecture’s double-precision floating point representation.
Floating point has a different arithmetic and is an inexact number. So you should know its esoteric system. See following:
Constants
NAN = DBL2NUM(NAN)
INFINITY = DBL2NUM(INFINITY)
EPSILON = DBL2NUM(DBL_EPSILON)
MAX = DBL2NUM(DBL_MAX)
MIN = The smallest positive normalized number in a double-precision floating point. Usually defaults to 2.2250738585072014e-308. If the platform supports denormalized numbers, there are numbers between zero and Float:
MAX_10_EXP = INT2FIX(DBL_MAX_10_EXP)
MIN_10_EXP = INT2FIX(DBL_MIN_10_EXP)
MAX_EXP = INT2FIX(DBL_MAX_EXP)
MIN_EXP = INT2FIX(DBL_MIN_EXP)
DIG = INT2FIX(DBL_DIG)
MANT_DIG = INT2FIX(DBL_MANT_DIG)
RADIX = INT2FIX(FLT_RADIX)
ROUNDS = Represents the rounding mode for floating point addition. Usually defaults to 1, rounding to the nearest number. Other modes include: -1:: Indeterminable 0:: Rounding towards zero 1:: Rounding to the nearest number 2:: Rounding towards positive infinity 3: