\frac{x}{y \cdot y} - 3\frac{1}{y \cdot \frac{y}{x}} - 3double f(double x, double y) {
double r310473 = x;
double r310474 = y;
double r310475 = r310474 * r310474;
double r310476 = r310473 / r310475;
double r310477 = 3.0;
double r310478 = r310476 - r310477;
return r310478;
}
double f(double x, double y) {
double r310479 = 1.0;
double r310480 = y;
double r310481 = x;
double r310482 = r310480 / r310481;
double r310483 = r310480 * r310482;
double r310484 = r310479 / r310483;
double r310485 = 3.0;
double r310486 = r310484 - r310485;
return r310486;
}




Bits error versus x




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