scale-floats-to-bigints
▸ function scaleFloatsToBigints
(as
: number[]): bigint[]
Defined in scale-to-int/scale-floats-to-bigints.ts:22
Returns the result of scaling the given array of floats by the same power of two such that all floats become bigints.
- can be used to scale polynomials
Parameters:
Name | Type | Description |
---|---|---|
as | number[] | an array of double precision floating point numbers |
Returns: bigint[]