Average Error: 45.4 → 0.1
Time: 1.6m
Precision: 64
Internal Precision: 320
\[\frac{\frac{\left(i \cdot i\right) \cdot \left(i \cdot i\right)}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right)}}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}\]
\[\frac{\frac{1}{2} \cdot i}{\left(2 \cdot 2\right) \cdot \left(i \cdot 2\right) - 2 \cdot \frac{1.0}{i}}\]

Error

Bits error versus i

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 45.4

    \[\frac{\frac{\left(i \cdot i\right) \cdot \left(i \cdot i\right)}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right)}}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}\]
  2. Applied simplify16.0

    \[\leadsto \color{blue}{\frac{\left(\frac{1}{2} \cdot i\right) \cdot \left(\frac{1}{2} \cdot i\right)}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}}\]
  3. Using strategy rm
  4. Applied associate-/l*16.1

    \[\leadsto \color{blue}{\frac{\frac{1}{2} \cdot i}{\frac{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}{\frac{1}{2} \cdot i}}}\]
  5. Applied simplify0.1

    \[\leadsto \frac{\frac{1}{2} \cdot i}{\color{blue}{\left(2 \cdot 2\right) \cdot \left(i \cdot 2\right) - 2 \cdot \frac{1.0}{i}}}\]

Runtime

Time bar (total: 1.6m)Debug logProfile

herbie shell --seed '#(1072743783 989954326 4239155542 3782239461 3602631542 1719177920)' 
(FPCore (i)
  :name "Octave 3.8, jcobi/4, as called"
  :pre (and (> i 0))
  (/ (/ (* (* i i) (* i i)) (* (* 2 i) (* 2 i))) (- (* (* 2 i) (* 2 i)) 1.0)))