FloatingPoint16Value.getFloatingPointConstant constructor

FloatingPoint16Value.getFloatingPointConstant(
  1. FloatingPointConstants constantFloatingPoint
)

Return the FloatingPoint16Value representing the constant specified

Implementation

factory FloatingPoint16Value.getFloatingPointConstant(
        FloatingPointConstants constantFloatingPoint) =>
    FloatingPoint16Value.ofLogicValue(
        FloatingPointValue.getFloatingPointConstant(
                constantFloatingPoint, exponentWidth, mantissaWidth)
            .value);