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

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[2 \cdot \tan^{-1} \left(\sqrt{\frac{1 - x}{1 + x}}\right)\]
  2. Using strategy rm
  3. Applied flip3--0.0

    \[\leadsto 2 \cdot \tan^{-1} \left(\sqrt{\frac{\color{blue}{\frac{{1}^{3} - {x}^{3}}{1 \cdot 1 + \left(x \cdot x + 1 \cdot x\right)}}}{1 + x}}\right)\]
  4. Applied associate-/l/0.0

    \[\leadsto 2 \cdot \tan^{-1} \left(\sqrt{\color{blue}{\frac{{1}^{3} - {x}^{3}}{\left(1 + x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x + 1 \cdot x\right)\right)}}}\right)\]
  5. Simplified0.0

    \[\leadsto 2 \cdot \tan^{-1} \left(\sqrt{\frac{\color{blue}{1 - {x}^{3}}}{\left(1 + x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x + 1 \cdot x\right)\right)}}\right)\]
  6. Using strategy rm
  7. Applied sqrt-div0.0

    \[\leadsto 2 \cdot \tan^{-1} \color{blue}{\left(\frac{\sqrt{1 - {x}^{3}}}{\sqrt{\left(1 + x\right) \cdot \left(1 \cdot 1 + \left(x \cdot x + 1 \cdot x\right)\right)}}\right)}\]
  8. Final simplification0.0

    \[\leadsto 2 \cdot \tan^{-1} \left(\frac{\sqrt{1 - {x}^{3}}}{\sqrt{\left(1 + \left(x \cdot x + x\right)\right) \cdot \left(1 + x\right)}}\right)\]

Reproduce

herbie shell --seed 2019021 
(FPCore (x)
  :name "arccos"
  (* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))