Class FloatUtilities
Object
FloatUtilities
Utilities for arithmetic operations involving type
float.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanareEqual(float value1, float value2) Are the two numbers equal?
-
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
value1andvalue2differ by less thanPrecisionConstants.EPSILON.
-