Package nl.basjes.modbus.schema.utils
Object DoubleCompare
-
- All Implemented Interfaces:
public class DoubleCompareA dynamic implementation of comparing doubles and automatically take the numerical precision into account.
-
-
Field Summary
Fields Modifier and Type Field Description public final static DoubleCompareINSTANCE
-
Method Summary
Modifier and Type Method Description final BooleancloseEnough(Double one, Double two, Double closeEnoughLog10Difference)final BooleancloseEnough(Double one, Double two)-
-
Method Detail
-
closeEnough
@JvmOverloads() final Boolean closeEnough(Double one, Double two, Double closeEnoughLog10Difference)
-
closeEnough
@JvmOverloads() final Boolean closeEnough(Double one, Double two)
-
-
-
-