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 r14638004 = x;
double r14638005 = y;
double r14638006 = log(r14638005);
double r14638007 = r14638005 * r14638006;
double r14638008 = r14638004 + r14638007;
double r14638009 = z;
double r14638010 = r14638008 - r14638009;
double r14638011 = exp(r14638010);
return r14638011;
}
double f(double x, double y, double z) {
double r14638012 = y;
double r14638013 = log(r14638012);
double r14638014 = r14638013 * r14638012;
double r14638015 = x;
double r14638016 = r14638014 + r14638015;
double r14638017 = z;
double r14638018 = r14638016 - r14638017;
double r14638019 = exp(r14638018);
return r14638019;
}




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