Average Error: 15.3 → 0.9
Time: 31.3s
Precision: 64
Internal Precision: 576
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\left(\sqrt[3]{g} \cdot \sqrt[3]{\frac{-1}{2}}\right) \cdot \frac{\sqrt[3]{-1}}{\sqrt[3]{a}}\]

Error

Bits error versus g

Bits error versus a

Derivation

  1. Initial program 15.3

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

    \[\leadsto \color{blue}{\frac{\sqrt[3]{g}}{\sqrt[3]{2 \cdot a}}}\]
  4. Taylor expanded around -inf 62.8

    \[\leadsto \color{blue}{e^{\frac{1}{3} \cdot \left(\log -1 - \log \left(\frac{-1}{g}\right)\right)} \cdot e^{\frac{1}{3} \cdot \left(\log \frac{-1}{2} + \log \left(\frac{-1}{a}\right)\right)}}\]
  5. Applied simplify0.8

    \[\leadsto \color{blue}{\left(\sqrt[3]{g} \cdot \sqrt[3]{\frac{-1}{2}}\right) \cdot \sqrt[3]{\frac{-1}{a}}}\]
  6. Using strategy rm
  7. Applied cbrt-div0.9

    \[\leadsto \left(\sqrt[3]{g} \cdot \sqrt[3]{\frac{-1}{2}}\right) \cdot \color{blue}{\frac{\sqrt[3]{-1}}{\sqrt[3]{a}}}\]

Runtime

Time bar (total: 31.3s)Debug logProfile

herbie shell --seed '#(1071501266 3581234924 1086666455 2685055582 1243441566 1802958749)' +o rules:numerics
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))