Average Error: 0.0 → 0.0
Time: 1.4m
Precision: 64
Internal Precision: 320
\[\frac{1}{x - 1} + \frac{x}{x + 1}\]
\[(\left(\sqrt[3]{\frac{1}{x - 1}} \cdot \sqrt[3]{\frac{1}{x - 1}}\right) \cdot \left(\sqrt[3]{\frac{1}{x - 1}}\right) + \left(\frac{x}{x + 1}\right))_*\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[\frac{1}{x - 1} + \frac{x}{x + 1}\]
  2. Using strategy rm
  3. Applied add-cube-cbrt0.0

    \[\leadsto \color{blue}{\left(\sqrt[3]{\frac{1}{x - 1}} \cdot \sqrt[3]{\frac{1}{x - 1}}\right) \cdot \sqrt[3]{\frac{1}{x - 1}}} + \frac{x}{x + 1}\]
  4. Applied fma-def0.0

    \[\leadsto \color{blue}{(\left(\sqrt[3]{\frac{1}{x - 1}} \cdot \sqrt[3]{\frac{1}{x - 1}}\right) \cdot \left(\sqrt[3]{\frac{1}{x - 1}}\right) + \left(\frac{x}{x + 1}\right))_*}\]

Runtime

Time bar (total: 1.4m)Debug logProfile

herbie shell --seed 2018167 +o rules:numerics
(FPCore (x)
  :name "Asymptote B"
  (+ (/ 1 (- x 1)) (/ x (+ x 1))))