\left(\left(x \cdot \log y - y\right) - z\right) + \log t
\log \left(\sqrt{y}\right) \cdot x + \left(\log \left(\sqrt{y}\right) \cdot x + \left(\left(\log t - z\right) - y\right)\right)(FPCore (x y z t) :precision binary64 (+ (- (- (* x (log y)) y) z) (log t)))
(FPCore (x y z t) :precision binary64 (+ (* (log (sqrt y)) x) (+ (* (log (sqrt y)) x) (- (- (log t) z) y))))
double code(double x, double y, double z, double t) {
return (((x * log(y)) - y) - z) + log(t);
}
double code(double x, double y, double z, double t) {
return (log(sqrt(y)) * x) + ((log(sqrt(y)) * x) + ((log(t) - z) - y));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
Initial program 0.1
rmApplied add-sqr-sqrt_binary64_24570.1
Applied log-prod_binary64_25190.1
Applied distribute-rgt-in_binary64_23880.1
Applied associate--l+_binary64_23750.1
Applied associate--l+_binary64_23750.1
Applied associate-+l+_binary64_23710.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020280
(FPCore (x y z t)
:name "Numeric.SpecFunctions:incompleteGamma from math-functions-0.1.5.2, A"
:precision binary64
(+ (- (- (* x (log y)) y) z) (log t)))