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




Bits error versus x




Bits error versus y




Bits error versus z
Results
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Final simplification0.0
herbie shell --seed 2020100
(FPCore (x y z)
:name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(exp (+ (- x z) (* (log y) y)))
(exp (- (+ x (* y (log y))) z)))