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 r15117828 = x;
double r15117829 = y;
double r15117830 = log(r15117829);
double r15117831 = r15117829 * r15117830;
double r15117832 = r15117828 + r15117831;
double r15117833 = z;
double r15117834 = r15117832 - r15117833;
double r15117835 = exp(r15117834);
return r15117835;
}
double f(double x, double y, double z) {
double r15117836 = y;
double r15117837 = log(r15117836);
double r15117838 = r15117837 * r15117836;
double r15117839 = x;
double r15117840 = r15117838 + r15117839;
double r15117841 = z;
double r15117842 = r15117840 - r15117841;
double r15117843 = exp(r15117842);
return r15117843;
}




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