Class Numerical

java.lang.Object
com.jackmeng.halcyoninae.halcyon.utils.Numerical

public final class Numerical extends Object
A class used to do things with numbers
Since:
3.3
Author:
Jack Meng
  • Constructor Details

    • Numerical

      private Numerical()
  • Method Details

    • __safe_divide

      public static double __safe_divide(double f1, double f2)
      Safely divide two numbers
      Parameters:
      f1 - The numerator
      f2 - The denominator
      Returns:
      Safe Quotient
      Since:
      3.3
    • __classifier_method

      private static double __classifier_method(double f1, double f2)
      A bound method
      Parameters:
      f1 - Func1 requires first param
      f2 - Func2 requires second param
      Returns:
      A double