\sqrt[3]{\frac{g}{2 \cdot a}}\left(\sqrt[3]{\frac{1}{2}} \cdot \sqrt[3]{\frac{1}{a}}\right) \cdot \sqrt[3]{g}double f(double g, double a) {
double r127904 = g;
double r127905 = 2.0;
double r127906 = a;
double r127907 = r127905 * r127906;
double r127908 = r127904 / r127907;
double r127909 = cbrt(r127908);
return r127909;
}
double f(double g, double a) {
double r127910 = 1.0;
double r127911 = 2.0;
double r127912 = r127910 / r127911;
double r127913 = cbrt(r127912);
double r127914 = a;
double r127915 = r127910 / r127914;
double r127916 = cbrt(r127915);
double r127917 = r127913 * r127916;
double r127918 = g;
double r127919 = cbrt(r127918);
double r127920 = r127917 * r127919;
return r127920;
}



Bits error versus g



Bits error versus a
Results
Initial program 15.5
rmApplied div-inv15.5
Applied cbrt-prod0.8
rmApplied add-sqr-sqrt0.8
Applied times-frac0.8
Applied cbrt-prod0.8
Applied associate-*r*0.8
Simplified0.8
rmApplied pow10.8
Applied pow10.8
Applied pow10.8
Applied pow-prod-down0.8
Applied pow-prod-down0.8
Simplified0.8
Final simplification0.8
herbie shell --seed 2020047
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
:precision binary64
(cbrt (/ g (* 2 a))))