\sqrt[3]{\frac{g}{2 \cdot a}}\frac{\sqrt[3]{g}}{\sqrt[3]{a \cdot 2}}double f(double g, double a) {
double r19517822 = g;
double r19517823 = 2.0;
double r19517824 = a;
double r19517825 = r19517823 * r19517824;
double r19517826 = r19517822 / r19517825;
double r19517827 = cbrt(r19517826);
return r19517827;
}
double f(double g, double a) {
double r19517828 = g;
double r19517829 = cbrt(r19517828);
double r19517830 = a;
double r19517831 = 2.0;
double r19517832 = r19517830 * r19517831;
double r19517833 = cbrt(r19517832);
double r19517834 = r19517829 / r19517833;
return r19517834;
}



Bits error versus g



Bits error versus a
Results
Initial program 14.9
rmApplied cbrt-div0.8
rmApplied *-un-lft-identity0.8
Applied associate-/l*0.9
rmApplied *-un-lft-identity0.9
Applied *-un-lft-identity0.9
Applied times-frac0.9
Applied *-un-lft-identity0.9
Applied times-frac0.9
Simplified0.9
Simplified0.8
Final simplification0.8
herbie shell --seed 2019124 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
(cbrt (/ g (* 2 a))))