FloatingPointTF32Value.ofDouble constructor
- double inDouble
Numeric conversion of a FloatingPointTF32Value from a host double
Implementation
factory FloatingPointTF32Value.ofDouble(double inDouble) {
final fpv = FloatingPointValue.ofDouble(inDouble,
exponentWidth: exponentWidth, mantissaWidth: mantissaWidth);
return FloatingPointTF32Value.ofLogicValue(fpv.value);
}