e^{\left(x + y \cdot \log y\right) - z}e^{\left(x + y \cdot \log y\right) - z}double f(double x, double y, double z) {
double r188729 = x;
double r188730 = y;
double r188731 = log(r188730);
double r188732 = r188730 * r188731;
double r188733 = r188729 + r188732;
double r188734 = z;
double r188735 = r188733 - r188734;
double r188736 = exp(r188735);
return r188736;
}
double f(double x, double y, double z) {
double r188737 = x;
double r188738 = y;
double r188739 = log(r188738);
double r188740 = r188738 * r188739;
double r188741 = r188737 + r188740;
double r188742 = z;
double r188743 = r188741 - r188742;
double r188744 = exp(r188743);
return r188744;
}




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 2019199 +o rules:numerics
(FPCore (x y z)
:name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"
:herbie-target
(exp (+ (- x z) (* (log y) y)))
(exp (- (+ x (* y (log y))) z)))