FloatingPoint32Value.ofDoubleUnrounded constructor
- double inDouble
Convert a floating point number into a FloatingPoint32Value representation. This form performs NO ROUNDING.
Implementation
factory FloatingPoint32Value.ofDoubleUnrounded(double inDouble) {
final fpv = FloatingPointValue.ofDoubleUnrounded(inDouble,
exponentWidth: exponentWidth, mantissaWidth: mantissaWidth);
return FloatingPoint32Value.ofLogicValue(fpv.value);
}