Constants
Float constants.
nan
RESCRIPT
let nan: floatepsilon
RESCRIPT
let epsilon: floatRepresents 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: floatThe positive Infinity value
See Number.POSITIVE_INFINITY on MDN.
Examples
RESCRIPTFloat.Constants.positiveInfinity
negativeInfinity
RESCRIPT
let negativeInfinity: floatThe negative Infinity value
See Number.NEGATIVE_INFINITY on MDN.
Examples
RESCRIPTFloat.Constants.negativeInfinity
minValue
RESCRIPT
let minValue: floatThe smallest positive numeric value representable in JavaScript.
See Number.MIN_VALUE on MDN.
Examples
RESCRIPTFloat.Constants.minValue
maxValue
RESCRIPT
let maxValue: floatThe maximum positive numeric value representable in JavaScript.
See Number.MAX_VALUE on MDN.
Examples
RESCRIPTFloat.Constants.minValue