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 r5561651 = x;
double r5561652 = y;
double r5561653 = log(r5561652);
double r5561654 = r5561652 * r5561653;
double r5561655 = r5561651 + r5561654;
double r5561656 = z;
double r5561657 = r5561655 - r5561656;
double r5561658 = exp(r5561657);
return r5561658;
}
double f(double x, double y, double z) {
double r5561659 = y;
double r5561660 = log(r5561659);
double r5561661 = r5561660 * r5561659;
double r5561662 = x;
double r5561663 = r5561661 + r5561662;
double r5561664 = z;
double r5561665 = r5561663 - r5561664;
double r5561666 = exp(r5561665);
return r5561666;
}




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