\sqrt[3]{\frac{g}{2 \cdot a}}\sqrt[3]{\frac{1}{a}} \cdot \sqrt[3]{\frac{g}{2}}double f(double g, double a) {
double r74362 = g;
double r74363 = 2.0;
double r74364 = a;
double r74365 = r74363 * r74364;
double r74366 = r74362 / r74365;
double r74367 = cbrt(r74366);
return r74367;
}
double f(double g, double a) {
double r74368 = 1.0;
double r74369 = a;
double r74370 = r74368 / r74369;
double r74371 = cbrt(r74370);
double r74372 = g;
double r74373 = 2.0;
double r74374 = r74372 / r74373;
double r74375 = cbrt(r74374);
double r74376 = r74371 * r74375;
return r74376;
}



Bits error versus g



Bits error versus a
Results
Initial program 15.4
rmApplied div-inv15.4
Applied cbrt-prod0.9
rmApplied add-cube-cbrt0.9
Applied times-frac0.9
Applied cbrt-prod0.9
Applied associate-*r*0.9
Simplified0.9
rmApplied cbrt-unprod0.9
Simplified0.9
Final simplification0.9
herbie shell --seed 2019325 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
:precision binary64
(cbrt (/ g (* 2 a))))