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 r187087 = x;
double r187088 = y;
double r187089 = log(r187088);
double r187090 = r187088 * r187089;
double r187091 = r187087 + r187090;
double r187092 = z;
double r187093 = r187091 - r187092;
double r187094 = exp(r187093);
return r187094;
}
double f(double x, double y, double z) {
double r187095 = y;
double r187096 = log(r187095);
double r187097 = r187096 * r187095;
double r187098 = x;
double r187099 = r187097 + r187098;
double r187100 = z;
double r187101 = r187099 - r187100;
double r187102 = exp(r187101);
return r187102;
}




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