\[\tan \left(x + \varepsilon\right) - \tan x\]
Test:
NMSE problem 3.3.2
Bits:
128 bits
Bits error versus x
Bits error versus eps
Time: 4.1 s
Input Error: 16.7
Output Error: 16.7
Log:
Profile: 🕒
\(\frac{1}{\frac{1}{\tan \left(x + \varepsilon\right)}} - \tan x\)
  1. Started with
    \[\tan \left(x + \varepsilon\right) - \tan x\]
    16.7
  2. Using strategy rm
    16.7
  3. Applied tan-cotan to get
    \[\color{red}{\tan \left(x + \varepsilon\right)} - \tan x \leadsto \color{blue}{\frac{1}{\cot \left(x + \varepsilon\right)}} - \tan x\]
    16.8
  4. Using strategy rm
    16.8
  5. Applied cotan-tan to get
    \[\frac{1}{\color{red}{\cot \left(x + \varepsilon\right)}} - \tan x \leadsto \frac{1}{\color{blue}{\frac{1}{\tan \left(x + \varepsilon\right)}}} - \tan x\]
    16.7

Original test:


(lambda ((x default) (eps default))
  #:name "NMSE problem 3.3.2"
  (- (tan (+ x eps)) (tan x))
  #:target
  (/ (sin eps) (* (cos x) (cos (+ x eps)))))