FloatingPointValue.ofInts constructor
FloatingPointValue constructor from a set of ints of the binary representation and the size of the exponent and mantissa
Implementation
FloatingPointValue.ofInts(int exponent, int mantissa,
{int exponentWidth = 0, int mantissaWidth = 0, bool sign = false})
: this(
sign: LogicValue.ofBigInt(sign ? BigInt.one : BigInt.zero, 1),
exponent: LogicValue.ofBigInt(BigInt.from(exponent), exponentWidth),
mantissa:
LogicValue.ofBigInt(BigInt.from(mantissa), mantissaWidth));