Average Error: 0.0 → 0.0
Time: 10.1s
Precision: 64
Internal precision: 128
\[2 \cdot \tan^{-1} \left(\sqrt{\frac{1 - x}{1 + x}}\right)\]
\[2 \cdot \tan^{-1} \left(\sqrt{\frac{1 - x}{1 + x}}\right)\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[2 \cdot \tan^{-1} \left(\sqrt{\frac{1 - x}{1 + x}}\right)\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 10.1s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3273891764 3044317738 2867483788 523696339 234128667 1448112732)'
(FPCore (x)
  :name "arccos"
  (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))