operator unary- method

  1. @override
Precise operator unary-()
override

Negation operator.

Implementation

@override
Precise operator -() => this == Precise.zero
    ? Precise('0')
    : Precise.raw(digits, power: _power, neg: !_neg, sigDigits: precision);