Average Error: 45.6 → 0.2
Time: 28.2s
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{i}{2} \cdot 1}{\left(2 \cdot i\right) \cdot \left(2 \cdot 2\right) - \frac{1.0}{\frac{i}{2}}}\]

Error

Bits error versus i

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 45.6

    \[\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 simplify15.1

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

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

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

Runtime

Time bar (total: 28.2s)Debug logProfile

herbie shell --seed 2018296 
(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)))