Average Error: 15.8 → 0.9
Time: 12.6s
Precision: 64
Internal Precision: 128
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\frac{1}{\frac{\sqrt[3]{a \cdot 2}}{\sqrt[3]{g}}}\]

Error

Bits error versus g

Bits error versus a

Derivation

  1. Initial program 15.8

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

    \[\leadsto \color{blue}{\frac{\sqrt[3]{g}}{\sqrt[3]{2 \cdot a}}}\]
  4. Using strategy rm
  5. Applied *-un-lft-identity0.9

    \[\leadsto \frac{\color{blue}{1 \cdot \sqrt[3]{g}}}{\sqrt[3]{2 \cdot a}}\]
  6. Applied associate-/l*0.9

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

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

Reproduce

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