🚧 under construction
JS ⟩ value ⟩ primitive ⟩ number ⟩ special number
NaN
Infinity
Number.EPSILON
Number.MAX_SAFE_INTEGER
Number.POSITIVE_INFINITY
subnormal
E=(00000000000)₂
(00000000000)₂
signed zero
subnormals
E=(11111111111)₂
(11111111111)₂
∞
NaNs
// subnormals // ┌────────────────────────────────────────────────────────┐ // │ n = (-1)^sign * 2^[1 - (01111111111)₂] * (0.fraction)₂ │ // └────────────────────────────────────────────────────────┘ // = ± 2¯¹⁰²² * (0.fraction)₂
Last updated 2 years ago