Average Error: 0.2 → 0.1
Time: 16.7s
Precision: 64
Internal Precision: 320
\[\frac{\frac{\left(2 \cdot \pi\right) \cdot \cos x}{e}}{2}\]
\[\frac{\pi}{e} \cdot \cos x\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\frac{\frac{\left(2 \cdot \pi\right) \cdot \cos x}{e}}{2}\]
  2. Applied simplify0.1

    \[\leadsto \color{blue}{\frac{\pi}{e} \cdot \cos x}\]

Runtime

Time bar (total: 16.7s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "2 * PI * cos(x) / E/2"
  (/ (/ (* (* 2 PI) (cos x)) E) 2))