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 r17295219 = x;
double r17295220 = y;
double r17295221 = log(r17295220);
double r17295222 = r17295220 * r17295221;
double r17295223 = r17295219 + r17295222;
double r17295224 = z;
double r17295225 = r17295223 - r17295224;
double r17295226 = exp(r17295225);
return r17295226;
}
double f(double x, double y, double z) {
double r17295227 = y;
double r17295228 = log(r17295227);
double r17295229 = r17295228 * r17295227;
double r17295230 = x;
double r17295231 = r17295229 + r17295230;
double r17295232 = z;
double r17295233 = r17295231 - r17295232;
double r17295234 = exp(r17295233);
return r17295234;
}




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