FloatingPoint8E5M2Value constructor

FloatingPoint8E5M2Value({
  1. required LogicValue sign,
  2. required LogicValue exponent,
  3. required LogicValue mantissa,
})

Constructor for an 8-bit E5M2 floating point value.

Implementation

factory FloatingPoint8E5M2Value(
        {required LogicValue sign,
        required LogicValue exponent,
        required LogicValue mantissa}) =>
    populator().populate(sign: sign, exponent: exponent, mantissa: mantissa);