\frac{x}{y \cdot y} - 3\frac{\frac{1}{y}}{\frac{y}{x}} - 3double f(double x, double y) {
double r360287 = x;
double r360288 = y;
double r360289 = r360288 * r360288;
double r360290 = r360287 / r360289;
double r360291 = 3.0;
double r360292 = r360290 - r360291;
return r360292;
}
double f(double x, double y) {
double r360293 = 1.0;
double r360294 = y;
double r360295 = r360293 / r360294;
double r360296 = x;
double r360297 = r360294 / r360296;
double r360298 = r360295 / r360297;
double r360299 = 3.0;
double r360300 = r360298 - r360299;
return r360300;
}




Bits error versus x




Bits error versus y
Results
| Original | 5.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 5.1
rmApplied associate-/r*0.1
rmApplied clear-num0.1
rmApplied add-sqr-sqrt31.9
Applied *-un-lft-identity31.9
Applied times-frac31.9
Applied add-sqr-sqrt32.0
Applied times-frac32.0
Simplified31.9
Simplified0.1
rmApplied associate-/r*0.1
Final simplification0.1
herbie shell --seed 2020056
(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))