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



Bits error versus g



Bits error versus a
Results
Initial program 15.7
rmApplied associate-/r*15.7
Applied cbrt-div0.8
Final simplification0.8
herbie shell --seed 2020066 +o rules:numerics
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
:precision binary64
(cbrt (/ g (* 2 a))))