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

Error

Bits error versus x

Try it out

  1. Inputs

  2. Original Output:

    Herbie Output:

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} + \frac{x}{x + 1}} \cdot \sqrt[3]{\frac{1}{x - 1} + \frac{x}{x + 1}}\right) \cdot \sqrt[3]{\frac{1}{x - 1} + \frac{x}{x + 1}}}\]

Runtime

Time bar (total: 26.9s)Debug logProfile

herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)' +o rules:numerics
(FPCore (x)
  :name "Asymptote B"
  (+ (/ 1 (- x 1)) (/ x (+ x 1))))