docs: private static double checkedCumulativeProbability(double mean, long argument) {
          double result = cumulativeProbability(mean, argument);
          if (Double.isNaN(result)) {
              throw new AssertionError("Discrete cumulative probability function returned NaN " +
                      "for argument " + argument);
          }
          return result;
      }