Average Error: 0.0 → 0.0
Time: 13.7s
Precision: 64
Internal Precision: 320
\[\frac{b + a}{b - a}\]
\[\sqrt[3]{\frac{a + b}{b - a} \cdot \left(\frac{a + b}{b - a} \cdot \frac{a + b}{b - a}\right)}\]

Error

Bits error versus b

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{b + a}{b - a}\]
  2. Using strategy rm
  3. Applied add-cbrt-cube0.0

    \[\leadsto \color{blue}{\sqrt[3]{\left(\frac{b + a}{b - a} \cdot \frac{b + a}{b - a}\right) \cdot \frac{b + a}{b - a}}}\]
  4. Final simplification0.0

    \[\leadsto \sqrt[3]{\frac{a + b}{b - a} \cdot \left(\frac{a + b}{b - a} \cdot \frac{a + b}{b - a}\right)}\]

Runtime

Time bar (total: 13.7s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (b a)
  :name "(b+a)/(b-a)"
  (/ (+ b a) (- b a)))