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