We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee020bb commit 0818d76Copy full SHA for 0818d76
MPChartLib/src/main/java/com/github/mikephil/charting/utils/Utils.java
@@ -40,10 +40,10 @@ public abstract class Utils {
40
public final static float FDEG2RAD = ((float) Math.PI / 180.f);
41
42
@SuppressWarnings("unused")
43
- public final static double DOUBLE_EPSILON = Double.longBitsToDouble(Double.doubleToLongBits(1.0) + 1);
+ public final static double DOUBLE_EPSILON = Double.longBitsToDouble(1);
44
45
46
- public final static float FLOAT_EPSILON = Float.intBitsToFloat(Float.floatToIntBits(1f) + 1);
+ public final static float FLOAT_EPSILON = Float.intBitsToFloat(1);
47
48
/**
49
* initialize method, called inside the Chart.init() method.
0 commit comments