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



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a
Results
Initial program 0.2
Simplified0.2
rmApplied add-cube-cbrt0.2
Applied log-prod0.3
Applied associate-+r+0.2
Applied associate--l+0.2
Final simplification0.2
herbie shell --seed 2020114 +o rules:numerics
(FPCore (x y z t a)
:name "Numeric.SpecFunctions:logGammaL from math-functions-0.1.5.2"
:precision binary64
(+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))