Average Error: 0.0 → 0.0
Time: 12.6s
Precision: 64
Internal precision: 128
\[\frac{x + 1.0}{1.0 - x}\]
\[\frac{x + 1.0}{1.0 - x}\]

Error

Bits error versus x

Target

Original0.0
Comparison0.0
Herbie0.0
\[ \frac{x + 1.0}{1.0 - x} \]

Derivation

  1. Initial program 0.0

    \[\frac{x + 1.0}{1.0 - x}\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 12.6s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1701191554 2466761399 1172760985 3476547989 2547423512 2848043001)'
(FPCore (x)
  :name "Prelude:atanh from fay-base-0.20.0.1"

  :target
  (/ (+ x 1.0) (- 1.0 x))

  (/ (+ x 1.0) (- 1.0 x)))