\sqrt[3]{\frac{g}{2 \cdot a}}\frac{\frac{1}{\sqrt[3]{2 \cdot a}}}{\frac{\sqrt[3]{\frac{-1}{g}}}{\sqrt[3]{-1}}}double f(double g, double a) {
double r76674 = g;
double r76675 = 2.0;
double r76676 = a;
double r76677 = r76675 * r76676;
double r76678 = r76674 / r76677;
double r76679 = cbrt(r76678);
return r76679;
}
double f(double g, double a) {
double r76680 = 1.0;
double r76681 = 2.0;
double r76682 = a;
double r76683 = r76681 * r76682;
double r76684 = cbrt(r76683);
double r76685 = r76680 / r76684;
double r76686 = -1.0;
double r76687 = g;
double r76688 = r76686 / r76687;
double r76689 = cbrt(r76688);
double r76690 = cbrt(r76686);
double r76691 = r76689 / r76690;
double r76692 = r76685 / r76691;
return r76692;
}



Bits error versus g



Bits error versus a
Results
Initial program 15.8
rmApplied cbrt-div0.8
rmApplied *-un-lft-identity0.8
Applied cbrt-prod0.8
Applied associate-/l*0.8
rmApplied div-inv0.9
Applied associate-/r*0.9
Simplified0.9
Taylor expanded around -inf 34.8
Simplified0.9
Final simplification0.9
herbie shell --seed 2019212
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
:precision binary64
(cbrt (/ g (* 2 a))))