scale-float-to-bigint
▸ function scaleFloatToBigint
(a: number): bigint
Defined in scale-to-int/scale-float-to-bigint.ts:20
Returns the result of scaling the given float by a power of two such that it becomes a bigint - the smallest such integer is returned.
Parameters:
| Name | Type | Description |
|---|---|---|
a | number | a double precision floating point number |
Returns: bigint