Float objects represent real numbers using the native architecture’s double-precision floating point representation.

Constants

ROUNDS = INT2FIX(FLT_ROUNDS)

RADIX = INT2FIX(FLT_RADIX)

MANT_DIG = INT2FIX(DBL_MANT_DIG)

DIG = INT2FIX(DBL_DIG)

MIN_EXP = INT2FIX(DBL_MIN_EXP)

MAX_EXP = INT2FIX(DBL_MAX_EXP)

MIN_10_EXP = INT2FIX(DBL_MIN_10_EXP)

MAX_10_EXP = INT2FIX(DBL_MAX_10_EXP)

MIN = rb_float_new(DBL_MIN)

MAX = rb_float_new(DBL_MAX)

EPSILON = rb_float_new(DBL_EPSILON)

Attributes

Show files where this class is defined (3 files)
Register or log in to add new notes.