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

Error

Bits error versus g

Bits error versus a

Derivation

  1. Initial program 15.5

    \[\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.9

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

Runtime

Time bar (total: 24.1s)Debug logProfile

herbie shell --seed '#(1071215679 2002590028 935158157 1944352234 2656991306 2955288481)' 
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))