minor issue (#1279)

This commit is contained in:
ch-yx authored and GitHub committed 2022-01-19 20:00:28 +01:00
1 parent 35d095c92f
commit a27b8b6b5c
1 file changed
+1 -1
@@ -56,7 +56,7 @@ public class NumericValue extends Value
}
try
{
if (Double.isInfinite(value)) return "INFINITY";
if (Double.isInfinite(value)) return (value>0)?"INFINITY":"-INFINITY";
if (Double.isNaN(value)) return "NaN";
if (abs(value) < epsilon) return (signum(value) < 0)?"-0":"0"; //zero rounding fails with big decimals
// dobules have 16 point precision, 12 is plenty to display