ofScaledBigInt method
- BigInt significand,
- int exponent, {
- FloatingPointRoundingMode roundingMode = FloatingPointRoundingMode.roundNearestEven,
Constructs a value equal to significand times two to exponent.
The exact dyadic value is rounded once into this floating-point format.
Implementation
FpvType ofScaledBigInt(BigInt significand, int exponent,
{FloatingPointRoundingMode roundingMode =
FloatingPointRoundingMode.roundNearestEven}) =>
_quantize((significand: significand.abs(), exponent: exponent),
negative: significand.isNegative, roundingMode: roundingMode);