\frac{x \cdot x - 3}{6}x \cdot \frac{x}{6} - \frac{3}{6}double code(double x) {
return (((double) (((double) (x * x)) - 3.0)) / 6.0);
}
double code(double x) {
return ((double) (((double) (x * (x / 6.0))) - (3.0 / 6.0)));
}



Bits error versus x
Results
Initial program Error: 0.2 bits
rmApplied div-subError: 0.2 bits
SimplifiedError: 0.1 bits
Final simplificationError: 0.1 bits
herbie shell --seed 2020200
(FPCore (x)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, H"
:precision binary64
(/ (- (* x x) 3.0) 6.0))