\frac{x}{y \cdot y}\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\frac{y}{x}} \cdot \frac{\sqrt[3]{1}}{y}double f(double x, double y) {
double r338834 = x;
double r338835 = y;
double r338836 = r338835 * r338835;
double r338837 = r338834 / r338836;
return r338837;
}
double f(double x, double y) {
double r338838 = 1.0;
double r338839 = cbrt(r338838);
double r338840 = r338839 * r338839;
double r338841 = y;
double r338842 = x;
double r338843 = r338841 / r338842;
double r338844 = r338840 / r338843;
double r338845 = r338839 / r338841;
double r338846 = r338844 * r338845;
return r338846;
}




Bits error versus x




Bits error versus y
Results
| Original | 10.8 |
|---|---|
| Target | 0.2 |
| Herbie | 0.3 |
Initial program 10.8
rmApplied associate-/r*0.2
rmApplied clear-num0.6
rmApplied associate-/r/0.6
Applied add-cube-cbrt0.6
Applied times-frac0.3
Final simplification0.3
herbie shell --seed 2019354
(FPCore (x y)
:name "Physics.ForceLayout:coulombForce from force-layout-0.4.0.2"
:precision binary64
:herbie-target
(/ (/ x y) y)
(/ x (* y y)))