operator unary- method

double operator unary-()

Returns the negation of this value.

Implementation

double operator -() => -value;