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 r16471928 = x;
double r16471929 = y;
double r16471930 = log(r16471929);
double r16471931 = r16471929 * r16471930;
double r16471932 = r16471928 + r16471931;
double r16471933 = z;
double r16471934 = r16471932 - r16471933;
double r16471935 = exp(r16471934);
return r16471935;
}
double f(double x, double y, double z) {
double r16471936 = y;
double r16471937 = log(r16471936);
double r16471938 = r16471937 * r16471936;
double r16471939 = x;
double r16471940 = r16471938 + r16471939;
double r16471941 = z;
double r16471942 = r16471940 - r16471941;
double r16471943 = exp(r16471942);
return r16471943;
}




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