e^{\left(x + y \cdot \log y\right) - z}e^{\left(\log y \cdot y + x\right) - z}double f(double x, double y, double z) {
double r168186 = x;
double r168187 = y;
double r168188 = log(r168187);
double r168189 = r168187 * r168188;
double r168190 = r168186 + r168189;
double r168191 = z;
double r168192 = r168190 - r168191;
double r168193 = exp(r168192);
return r168193;
}
double f(double x, double y, double z) {
double r168194 = y;
double r168195 = log(r168194);
double r168196 = r168195 * r168194;
double r168197 = x;
double r168198 = r168196 + r168197;
double r168199 = z;
double r168200 = r168198 - r168199;
double r168201 = exp(r168200);
return r168201;
}




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 2019174 +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)))