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