FloatingPoint32Value.getFloatingPointConstant constructor

FloatingPoint32Value.getFloatingPointConstant(
  1. FloatingPointConstants constantFloatingPoint
)

Return the FloatingPoint32Value representing the constant specified

Implementation

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