Constants
nan
RESCRIPT
let nan: float
epsilon
RESCRIPT
let epsilon: float
Represents the difference between 1 and the smallest floating point number greater than 1.
See Number.EPSILON
on MDN.
Examples
RESCRIPTFloat.Constants.epsilon
positiveInfinity
RESCRIPT
let positiveInfinity: float
The positive Infinity value
See Number.POSITIVE_INFINITY
on MDN.
Examples
RESCRIPTFloat.Constants.positiveInfinity
negativeInfinity
RESCRIPT
let negativeInfinity: float
The negative Infinity value
See Number.NEGATIVE_INFINITY
on MDN.
Examples
RESCRIPTFloat.Constants.negativeInfinity
minValue
RESCRIPT
let minValue: float
The smallest positive numeric value representable in JavaScript.
See Number.MIN_VALUE
on MDN.
Examples
RESCRIPTFloat.Constants.minValue
maxValue
RESCRIPT
let maxValue: float
The maximum positive numeric value representable in JavaScript.
See Number.MAX_VALUE
on MDN.
Examples
RESCRIPTFloat.Constants.minValue