Merge branch 'master' into future

This commit is contained in:
gnembon committed 2022-01-19 20:03:57 +01:00
commit 5abbae5b62
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