\frac{x}{y \cdot y} - 3\frac{1}{y \cdot \frac{y}{x}} - 3double f(double x, double y) {
double r282404 = x;
double r282405 = y;
double r282406 = r282405 * r282405;
double r282407 = r282404 / r282406;
double r282408 = 3.0;
double r282409 = r282407 - r282408;
return r282409;
}
double f(double x, double y) {
double r282410 = 1.0;
double r282411 = y;
double r282412 = x;
double r282413 = r282411 / r282412;
double r282414 = r282411 * r282413;
double r282415 = r282410 / r282414;
double r282416 = 3.0;
double r282417 = r282415 - r282416;
return r282417;
}




Bits error versus x




Bits error versus y
Results
| Original | 4.9 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 4.9
rmApplied associate-/r*0.1
rmApplied clear-num0.1
rmApplied add-sqr-sqrt32.3
Applied *-un-lft-identity32.3
Applied times-frac32.3
Applied add-sqr-sqrt32.3
Applied times-frac32.3
Simplified32.3
Simplified0.1
Final simplification0.1
herbie shell --seed 2020034
(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))