operator unary- method
Implementation
PgDecimal operator -() => switch (_kind) {
_posInf => negativeInfinity,
_negInf => infinity,
_nan => this,
_ => PgDecimal._finiteValue(-_unscaled, _scale),
};
PgDecimal operator -() => switch (_kind) {
_posInf => negativeInfinity,
_negInf => infinity,
_nan => this,
_ => PgDecimal._finiteValue(-_unscaled, _scale),
};