FloatingPoint8E4M3Value.ofLogicValue constructor

FloatingPoint8E4M3Value.ofLogicValue(
  1. LogicValue val
)

Construct a FloatingPoint8E4M3Value from a Logic word

Implementation

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