\sqrt[3]{\frac{g}{2 \cdot a}}\frac{\frac{\sqrt[3]{g}}{{2}^{\frac{1}{3}}}}{\sqrt[3]{a}}double code(double g, double a) {
return cbrt((g / (2.0 * a)));
}
double code(double g, double a) {
return ((cbrt(g) / pow(2.0, 0.3333333333333333)) / cbrt(a));
}



Bits error versus g



Bits error versus a
Results
Initial program 15.6
rmApplied cbrt-div0.9
rmApplied cbrt-prod1.1
Applied associate-/r*1.1
rmApplied pow1/30.9
Final simplification0.9
herbie shell --seed 2020100 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
:precision binary64
(cbrt (/ g (* 2 a))))