infinity

infinity(): Real updating;

The infinity method of the Real primitive type sets the receiver to the special positive infinity value. It does this by calling the setFloatingPointClassification method with the FP_Classification_PosInfinity constant value as the parameter. The method also returns the positive infinity value.

See also the isInfinity method.