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



Bits error versus x
Results
Initial program 0.1
rmApplied div-sub_binary640.1
rmApplied associate-/l*_binary640.1
Final simplification0.1
herbie shell --seed 2020210
(FPCore (x)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2, H"
:precision binary64
(/ (- (* x x) 3.0) 6.0))