\left(\left(x \cdot \log y - y\right) - z\right) + \log t
\mathsf{fma}\left(\log y, x, \left(\log t - y\right) - z\right)double code(double x, double y, double z, double t) {
return ((double) (((double) (((double) (((double) (x * ((double) log(y)))) - y)) - z)) + ((double) log(t))));
}
double code(double x, double y, double z, double t) {
return ((double) fma(((double) log(y)), x, ((double) (((double) (((double) log(t)) - y)) - z))));
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t
Results
Initial program 0.1
Simplified0.1
rmApplied associate--r+0.1
Final simplification0.1
herbie shell --seed 2020120 +o rules:numerics
(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)))