Average Error: 15.4 → 0.8
Time: 10.5s
Precision: 64
Internal Precision: 576
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\sqrt[3]{g} \cdot \frac{1}{\sqrt[3]{2 \cdot a}}\]

Error

Bits error versus g

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 15.4

    \[\sqrt[3]{\frac{g}{2 \cdot a}}\]
  2. Using strategy rm
  3. Applied div-inv15.4

    \[\leadsto \sqrt[3]{\color{blue}{g \cdot \frac{1}{2 \cdot a}}}\]
  4. Applied cbrt-prod0.8

    \[\leadsto \color{blue}{\sqrt[3]{g} \cdot \sqrt[3]{\frac{1}{2 \cdot a}}}\]
  5. Using strategy rm
  6. Applied cbrt-div0.8

    \[\leadsto \sqrt[3]{g} \cdot \color{blue}{\frac{\sqrt[3]{1}}{\sqrt[3]{2 \cdot a}}}\]
  7. Simplified0.8

    \[\leadsto \sqrt[3]{g} \cdot \frac{\color{blue}{1}}{\sqrt[3]{2 \cdot a}}\]
  8. Using strategy rm
  9. Applied un-div-inv0.8

    \[\leadsto \color{blue}{\frac{\sqrt[3]{g}}{\sqrt[3]{2 \cdot a}}}\]
  10. Using strategy rm
  11. Applied div-inv0.8

    \[\leadsto \color{blue}{\sqrt[3]{g} \cdot \frac{1}{\sqrt[3]{2 \cdot a}}}\]
  12. Final simplification0.8

    \[\leadsto \sqrt[3]{g} \cdot \frac{1}{\sqrt[3]{2 \cdot a}}\]

Runtime

Time bar (total: 10.5s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.80.80.10.80%
herbie shell --seed 2018274 
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))