nextDown property

double nextDown

Returns the nearest double in direction of negative infinity.

Implementation

double get nextDown {
  if (isNaN || this == double.negativeInfinity) return this;
  if (this == 0.0) return -double.minPositive;
  return this < 0.0 ? _increment(this) : _decrement(this);
}