\frac{x}{y \cdot y} - 3\frac{1}{\frac{y}{x} \cdot y} - 3double f(double x, double y) {
double r289291 = x;
double r289292 = y;
double r289293 = r289292 * r289292;
double r289294 = r289291 / r289293;
double r289295 = 3.0;
double r289296 = r289294 - r289295;
return r289296;
}
double f(double x, double y) {
double r289297 = 1.0;
double r289298 = y;
double r289299 = x;
double r289300 = r289298 / r289299;
double r289301 = r289300 * r289298;
double r289302 = r289297 / r289301;
double r289303 = 3.0;
double r289304 = r289302 - r289303;
return r289304;
}




Bits error versus x




Bits error versus y
Results
| Original | 5.0 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 5.0
rmApplied associate-/r*0.1
rmApplied *-un-lft-identity0.1
Applied *-un-lft-identity0.1
Applied times-frac0.1
Applied associate-/l*0.1
rmApplied associate-/r/0.1
Final simplification0.1
herbie shell --seed 2019353 +o rules:numerics
(FPCore (x y)
:name "Statistics.Sample:$skurtosis from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(- (/ (/ x y) y) 3)
(- (/ x (* y y)) 3))