negate method

FloatingPointValue negate()

Negate operation for FloatingPointValue.

Implementation

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