\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
\left(\left(\left(\left(\left(x \cdot \log y + z\right) + t\right) + a\right) + \log \left(\sqrt[3]{c} \cdot \sqrt[3]{c}\right) \cdot \left(b - 0.5\right)\right) + \log \left(1 \cdot {c}^{\frac{1}{3}}\right) \cdot \left(b - 0.5\right)\right) + y \cdot idouble 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 (((((((x * log(y)) + z) + t) + a) + (log((cbrt(c) * cbrt(c))) * (b - 0.5))) + (log((1.0 * pow(c, 0.3333333333333333))) * (b - 0.5))) + (y * i));
}



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
rmApplied add-cube-cbrt0.1
Applied log-prod0.1
Applied distribute-rgt-in0.1
Applied associate-+r+0.1
rmApplied *-un-lft-identity0.1
Applied cbrt-prod0.1
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020058
(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)))