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 r26548519 = x;
double r26548520 = y;
double r26548521 = log(r26548520);
double r26548522 = r26548520 * r26548521;
double r26548523 = r26548519 + r26548522;
double r26548524 = z;
double r26548525 = r26548523 - r26548524;
double r26548526 = exp(r26548525);
return r26548526;
}
double f(double x, double y, double z) {
double r26548527 = y;
double r26548528 = log(r26548527);
double r26548529 = r26548528 * r26548527;
double r26548530 = x;
double r26548531 = r26548529 + r26548530;
double r26548532 = z;
double r26548533 = r26548531 - r26548532;
double r26548534 = exp(r26548533);
return r26548534;
}




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