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 r272385 = x;
double r272386 = y;
double r272387 = log(r272386);
double r272388 = r272386 * r272387;
double r272389 = r272385 + r272388;
double r272390 = z;
double r272391 = r272389 - r272390;
double r272392 = exp(r272391);
return r272392;
}
double f(double x, double y, double z) {
double r272393 = y;
double r272394 = log(r272393);
double r272395 = r272394 * r272393;
double r272396 = x;
double r272397 = r272395 + r272396;
double r272398 = z;
double r272399 = r272397 - r272398;
double r272400 = exp(r272399);
return r272400;
}




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