Average Error: 15.6 → 0.9
Time: 15.9s
Precision: 64
Internal Precision: 128
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\frac{1}{\frac{1}{\sqrt[3]{g}} \cdot \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.6

    \[\sqrt[3]{\frac{g}{2 \cdot a}}\]
  2. Initial simplification15.6

    \[\leadsto \sqrt[3]{\frac{g}{a \cdot 2}}\]
  3. Using strategy rm
  4. Applied cbrt-div0.8

    \[\leadsto \color{blue}{\frac{\sqrt[3]{g}}{\sqrt[3]{a \cdot 2}}}\]
  5. Using strategy rm
  6. Applied clear-num0.9

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

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

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

Runtime

Time bar (total: 15.9s)Debug logProfile

herbie shell --seed 2018304 
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))