e^{\left(x + y \cdot \log y\right) - z}e^{\left(x + y \cdot \log y\right) - z}double f(double x, double y, double z) {
double r233452 = x;
double r233453 = y;
double r233454 = log(r233453);
double r233455 = r233453 * r233454;
double r233456 = r233452 + r233455;
double r233457 = z;
double r233458 = r233456 - r233457;
double r233459 = exp(r233458);
return r233459;
}
double f(double x, double y, double z) {
double r233460 = x;
double r233461 = y;
double r233462 = log(r233461);
double r233463 = r233461 * r233462;
double r233464 = r233460 + r233463;
double r233465 = z;
double r233466 = r233464 - r233465;
double r233467 = exp(r233466);
return r233467;
}




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 2019198 +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)))