Class FloatUtilities

Object
FloatUtilities

public class FloatUtilities extends Object
Utilities for arithmetic operations involving type float.
Author:
Owen Feehan
  • Method Details

    • areEqual

      public static boolean areEqual(float value1, float value2)
      Are the two numbers equal?
      Parameters:
      value1 - the first value.
      value2 - the second value.
      Returns:
      true iff value1 and value2 differ by less than PrecisionConstants.EPSILON.