Average Error: 58.5 → 58.5
Time: 9.0s
Precision: 64
Internal Precision: 1408
\[\frac{1}{2} \cdot \log \left(\frac{1 + x}{1 - x}\right)\]
\[\log \left(\frac{1 + x}{1 - x}\right) \cdot \frac{1}{2}\]

Error

Bits error versus x

Derivation

  1. Initial program 58.5

    \[\frac{1}{2} \cdot \log \left(\frac{1 + x}{1 - x}\right)\]
  2. Applied simplify58.5

    \[\leadsto \color{blue}{\log \left(\frac{1 + x}{1 - x}\right) \cdot \frac{1}{2}}\]

Runtime

Time bar (total: 9.0s)Debug logProfile

herbie shell --seed '#(1070991898 1055468627 4280279443 640792587 928206309 3646738750)' 
(FPCore (x)
  :name "Hyperbolic arc-(co)tangent"
  (* (/ 1 2) (log (/ (+ 1 x) (- 1 x)))))