\log \left(e^{\log x + \log y}\right)\log x + \log y
double code(double x, double y) {
return ((double) log(((double) exp(((double) (((double) log(x)) + ((double) log(y))))))));
}
double code(double x, double y) {
return ((double) (((double) log(x)) + ((double) log(y))));
}



Bits error versus x



Bits error versus y
Results
Initial program 15.7
Simplified0.6
Final simplification0.6
herbie shell --seed 2020152
(FPCore (x y)
:name "(log (exp (+ (log x) (log y))))"
:precision binary64
(log (exp (+ (log x) (log y)))))