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 r18337795 = x;
double r18337796 = y;
double r18337797 = log(r18337796);
double r18337798 = r18337796 * r18337797;
double r18337799 = r18337795 + r18337798;
double r18337800 = z;
double r18337801 = r18337799 - r18337800;
double r18337802 = exp(r18337801);
return r18337802;
}
double f(double x, double y, double z) {
double r18337803 = y;
double r18337804 = log(r18337803);
double r18337805 = r18337804 * r18337803;
double r18337806 = x;
double r18337807 = r18337805 + r18337806;
double r18337808 = z;
double r18337809 = r18337807 - r18337808;
double r18337810 = exp(r18337809);
return r18337810;
}




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 2019165
(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)))