All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.util.DoubleHelper Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.util;


import com.google.common.math.DoubleMath;

public class DoubleHelper
{
    private static final Double EPSILON = 1.11e-16;

    public static boolean fuzzyEquals( final double first, final double second )
    {
        return DoubleMath.fuzzyEquals( first, second, EPSILON );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy