Skip to content

float64ToBits

float64ToBits(value): bigint

Defined in: packages/core/src/number/float64-bits.ts:12

The IEEE-754 binary64 bit pattern of value.

A JS number is a binary64, so this is exact for every input, NaN and the infinities included. The NaN payload is whatever the runtime produced; it is not canonicalised.

number

bigint