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 r208611 = x;
double r208612 = y;
double r208613 = log(r208612);
double r208614 = r208612 * r208613;
double r208615 = r208611 + r208614;
double r208616 = z;
double r208617 = r208615 - r208616;
double r208618 = exp(r208617);
return r208618;
}
double f(double x, double y, double z) {
double r208619 = y;
double r208620 = log(r208619);
double r208621 = r208620 * r208619;
double r208622 = x;
double r208623 = r208621 + r208622;
double r208624 = z;
double r208625 = r208623 - r208624;
double r208626 = exp(r208625);
return r208626;
}




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 2019196 +o rules:numerics
(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)))