Average Error: 27.7 → 27.7
Time: 2.4s
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

Derivation

  1. Initial program 27.7

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

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

Reproduce

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