e^{\left(x + y \cdot \log y\right) - z}e^{\left(x + \left(\log \left(\sqrt{y}\right) \cdot y + \log \left(\sqrt{y}\right) \cdot y\right)\right) - z}double f(double x, double y, double z) {
double r207030 = x;
double r207031 = y;
double r207032 = log(r207031);
double r207033 = r207031 * r207032;
double r207034 = r207030 + r207033;
double r207035 = z;
double r207036 = r207034 - r207035;
double r207037 = exp(r207036);
return r207037;
}
double f(double x, double y, double z) {
double r207038 = x;
double r207039 = y;
double r207040 = sqrt(r207039);
double r207041 = log(r207040);
double r207042 = r207041 * r207039;
double r207043 = r207042 + r207042;
double r207044 = r207038 + r207043;
double r207045 = z;
double r207046 = r207044 - r207045;
double r207047 = exp(r207046);
return r207047;
}




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
rmApplied add-sqr-sqrt0.0
Applied log-prod0.0
Applied distribute-lft-in0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019325
(FPCore (x y z)
:name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(exp (+ (- x z) (* (log y) y)))
(exp (- (+ x (* y (log y))) z)))