JS: Number. EPSILON, MIN_VALUE, MAX_VALUE
EPSILON
Number.EPSILON-
Value is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately 2.2204460492503130808472633361816 x 10^(-16).
console.assert(Number.EPSILON === 2.220446049250313e-16);
MIN_VALUE
Number.MIN_VALUE-
The value is the smallest positive value of the Number type, which is approximately 5 × 10^(-324).
In the IEEE 754-2008 double precision binary representation, the smallest possible value is a denormalized number. If an implementation does not support denormalized values, the value of
Number.MIN_VALUEmust be the smallest non-zero positive value that can actually be represented by the implementation.console.assert(Number.MIN_VALUE === 5e-324);
MAX_VALUE
Number.MAX_VALUE-
The value is the largest positive finite value of the Number type, which is approximately 1.7976931348623157 × 10^308.
console.assert(Number.MAX_VALUE === 1.7976931348623157e+308);