timesTenTo method Null safety

Value timesTenTo(
  1. int power
)

Implementation

Value timesTenTo(int power) {
  assert(asMatrix == null);
  final e = exponent + power;
  if (e >= 100) {
    if (mantissaDigit(-1) == 0) {
      return fInfinity;
    } else {
      return fNegativeInfinity;
    }
  } else if (e <= -100) {
    return zero;
  } else {
    return Value._fromMantissaAndRawExponent(_upper52, _intToRawExponent(e));
  }
}