Average Error: 0.0 → 0.0
Time: 13.2s
Precision: 64
Ground Truth: 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

Total time: 13.2s Debug log

Please include this information when filing a bug report:

herbie --seed '#(948951687 4142657231 3497799756 3808261998 1053295619 3700164294)'
(FPCore (x)
  :name "arccos"
  (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))