Skip to content

ulp

ulp(value): number

Defined in: packages/core/src/number/ulp.ts:10

Width of one unit in the last place at value — the gap between |value| and the next representable binary64 away from zero.

number

number

The ULP width, Number.NaN for NaN, or Infinity for an infinite input.