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

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 58.8

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

Runtime

Time bar (total: 6.2s)Debug logProfile

herbie shell --seed 2020178 
(FPCore (x)
  :name "Hyperbolic arc-(co)tangent"
  (* (/ 1 2) (log (/ (+ 1 x) (- 1 x)))))