\left(\left(\left(\left(x \cdot \log y + z\right) + t\right) + a\right) + \left(b - 0.5\right) \cdot \log c\right) + y \cdot i
\mathsf{fma}\left(i, y, \sqrt[3]{{\left(\log c\right)}^{2}} \cdot \left(\sqrt[3]{\log c} \cdot \left(b - 0.5\right)\right) + \left(\mathsf{fma}\left(x, \log y, z\right) + \left(t + a\right)\right)\right)double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return ((((((x * log(y)) + z) + t) + a) + ((b - 0.5) * log(c))) + (y * i));
}
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
return fma(i, y, ((cbrt(pow(log(c), 2.0)) * (cbrt(log(c)) * (b - 0.5))) + (fma(x, log(y), z) + (t + a))));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c



Bits error versus i
Results
Initial program 0.1
Simplified0.1
rmApplied fma-udef0.1
rmApplied add-cube-cbrt0.3
Applied associate-*l*0.3
rmApplied cbrt-unprod0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2020091 +o rules:numerics
(FPCore (x y z t a b c i)
:name "Numeric.SpecFunctions:logBeta from math-functions-0.1.5.2, B"
:precision binary64
(+ (+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c))) (* y i)))