FloatingPoint8E5M2Value.ofLogicValue constructor

FloatingPoint8E5M2Value.ofLogicValue(
  1. LogicValue val
)

Construct a FloatingPoint8E5M2Value from a Logic word

Implementation

factory FloatingPoint8E5M2Value.ofLogicValue(LogicValue val) =>
    FloatingPointValue.buildOfLogicValue(
        FloatingPoint8E5M2Value.new, exponentWidth, mantissaWidth, val);