Class MathTools


  • public class MathTools
    extends java.lang.Object
    Tool class for math related functions
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean equalsNearly​(double a, double b, double range)  
      static boolean equalsNearly​(float a, float b, float range)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • equalsNearly

        public static boolean equalsNearly​(double a,
                                           double b,
                                           double range)
      • equalsNearly

        public static boolean equalsNearly​(float a,
                                           float b,
                                           float range)