invertExponent method

void invertExponent()

Implementation

void invertExponent() {
  if (exponent != null) {
    exponent = -exponent!;
  }
}