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

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.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. Using strategy rm
  5. Applied add-sqr-sqrt0.9

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

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

Runtime

Time bar (total: 13.1s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.90.90.10.80%
herbie shell --seed 2018353 +o rules:numerics
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))