Average Error: 33.3 → 33.3
Time: 2.0s
Precision: binary64
\[\frac{-1}{\tan \left(\frac{x \cdot pi}{360}\right)}\]
\[\frac{-1}{\tan \left(\frac{x \cdot pi}{360}\right)}\]

Error

Bits error versus x

Bits error versus pi

Derivation

  1. Initial program 33.3

    \[\frac{-1}{\tan \left(\frac{x \cdot pi}{360}\right)}\]
  2. Final simplification33.3

    \[\leadsto \frac{-1}{\tan \left(\frac{x \cdot pi}{360}\right)}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x pi)
  :name "(/ (- 1) (tan (/ (* x pi) 360)))"
  :precision binary64
  (/ (neg 1.0) (tan (/ (* x pi) 360.0))))