\sqrt[3]{\frac{g}{2 \cdot a}}\frac{\sqrt[3]{1} \cdot \sqrt[3]{g}}{\sqrt[3]{2 \cdot a}}(FPCore (g a) :precision binary64 (cbrt (/ g (* 2.0 a))))
(FPCore (g a) :precision binary64 (/ (* (cbrt 1.0) (cbrt g)) (cbrt (* 2.0 a))))
double code(double g, double a) {
return cbrt(g / (2.0 * a));
}
double code(double g, double a) {
return (cbrt(1.0) * cbrt(g)) / cbrt(2.0 * a);
}










Bits error versus g










Bits error versus a
Results
| Alternative 1 | |
|---|---|
| Accuracy | 1.1 |
| Cost | 512 |
| Alternative 2 | |
|---|---|
| Accuracy | 1.5 |
| Cost | 2432 |
| Alternative 3 | |
|---|---|
| Accuracy | 9.4 |
| Cost | 1858 |
| Alternative 4 | |
|---|---|
| Accuracy | 11.0 |
| Cost | 1793 |
| Alternative 5 | |
|---|---|
| Accuracy | 10.1 |
| Cost | 1153 |
| Alternative 6 | |
|---|---|
| Accuracy | 34.2 |
| Cost | 832 |
| Alternative 7 | |
|---|---|
| Accuracy | 34.6 |
| Cost | 768 |
Initial program 15.6
rmApplied cbrt-div_binary64_24970.9
rmApplied *-un-lft-identity_binary64_24650.9
Applied cbrt-prod_binary64_24960.9
rmApplied pow1_binary64_25260.9
Final simplification0.9
herbie shell --seed 2020322
(FPCore (g a)
:name "2-ancestry mixing, zero discriminant"
:precision binary64
(cbrt (/ g (* 2.0 a))))