Average Error: 15.0 → 0.9
Time: 14.6s
Precision: 64
Internal Precision: 320
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\sqrt[3]{g} \cdot \sqrt[3]{\frac{1}{a \cdot 2}}\]

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.0

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

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

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

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

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

Runtime

Time bar (total: 14.6s)Debug logProfile

herbie shell --seed 2018249 +o rules:numerics
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))