class ArgChecker {

  public static double notNaN(double argument, String name) {
    if (Double.isNaN(argument)) {
      throw new IllegalArgumentException(notNaNMsg(name));
    }
    return argument;
  }

  private  ArgChecker();

}