negate method
Negate operation for FloatingPointValue
Implementation
FloatingPointValue negate() => FloatingPointValue(
sign: sign.isZero ? LogicValue.one : LogicValue.zero,
exponent: exponent,
mantissa: mantissa);
Negate operation for FloatingPointValue
FloatingPointValue negate() => FloatingPointValue(
sign: sign.isZero ? LogicValue.one : LogicValue.zero,
exponent: exponent,
mantissa: mantissa);