negate method

FloatingPointValue negate()

Negate operation for FloatingPointValue

Implementation

FloatingPointValue negate() => FloatingPointValue(
    sign: sign.isZero ? LogicValue.one : LogicValue.zero,
    exponent: exponent,
    mantissa: mantissa);