Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Standard Library: Constants

RANTY_VERSION

string

The version of the Ranty language currently being used.

BUILD_VERSION

string

The build version of the Ranty library being used.

EPSILON

float

The smallest possible float value greater than zero.

MIN_FLOAT

float

The smallest representable finite value of the float type.

MAX_FLOAT

float

The largest representable finite value of the float type.

MIN_INT

int

The smallest representable value of the int type.

MAX_INT

int

The largest representable value of the int type.

INFINITY

float

The floating-point special value for positive infinity.

NEG_INFINITY

float

The floating-point special value for negative infinity.

NAN

float

The floating-point special value for NaN (Not a Number).