Average Error: 30.8 → 0
Time: 20.3s
Precision: 64
Internal Precision: 2368
\[\frac{\left(\frac{\sin \left(\left(\varepsilon + x\right) - \varepsilon\right)}{\cos x \cdot \cos \varepsilon} \cdot \cos x\right) \cdot \cos \varepsilon}{\sin x}\]
\[\frac{\sin x}{\sin x}\]

Error

Bits error versus eps

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 30.8

    \[\frac{\left(\frac{\sin \left(\left(\varepsilon + x\right) - \varepsilon\right)}{\cos x \cdot \cos \varepsilon} \cdot \cos x\right) \cdot \cos \varepsilon}{\sin x}\]
  2. Applied simplify0

    \[\leadsto \color{blue}{\frac{\sin x}{\sin x}}\]

Runtime

Time bar (total: 20.3s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (eps x)
  :name "sin(eps+x-eps)/(cos(x)*cos(eps))*cos(x)*cos(eps)/sin(x)"
  (/ (* (* (/ (sin (- (+ eps x) eps)) (* (cos x) (cos eps))) (cos x)) (cos eps)) (sin x)))