Average Error: 15.2 → 0.9
Time: 30.8s
Precision: 64
Internal Precision: 384
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\frac{1}{\frac{\sqrt[3]{2 \cdot a}}{\sqrt[3]{g}}}\]

Error

Bits error versus g

Bits error versus a

Derivation

  1. Initial program 15.2

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

    \[\leadsto \color{blue}{\frac{1}{\frac{\sqrt[3]{2 \cdot a}}{\sqrt[3]{g}}}}\]
  6. Removed slow pow expressions.

Runtime

Time bar (total: 30.8s)Debug log

herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))