ieeeBinaryFromNumber
ieeeBinaryFromNumber(
value,format):IeeeBinary<bigint>
Defined in: packages/math-numbers/src/ieee754/binary/ieee-binary-from-number.ts:12
The value of a JS number, in the given format.
Narrower formats (binary16/32) round; wider ones (binary128) are exact, the input carrying only binary64’s ~15 significant decimal digits to begin with.
Parameters
Section titled “Parameters”number
format
Section titled “format”Returns
Section titled “Returns”IeeeBinary<bigint>