Average Error: 45.6 → 0.3
Time: 6.8s
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{i}{i \cdot 16 - \frac{4.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.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. Initial simplification15.1

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

    \[\leadsto \color{blue}{\frac{i}{\frac{(\left(i \cdot 4\right) \cdot i + \left(-1.0\right))_*}{\frac{i}{4}}}}\]
  5. Taylor expanded around 0 0.3

    \[\leadsto \frac{i}{\color{blue}{16 \cdot i - 4.0 \cdot \frac{1}{i}}}\]
  6. Simplified0.3

    \[\leadsto \frac{i}{\color{blue}{16 \cdot i - \frac{4.0}{i}}}\]
  7. Final simplification0.3

    \[\leadsto \frac{i}{i \cdot 16 - \frac{4.0}{i}}\]

Runtime

Time bar (total: 6.8s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.30.30.20.10%
herbie shell --seed 2018296 +o rules:numerics
(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)))