Average Error: 0 → 0
Time: 2.0s
Precision: 64
\[\cos x\]
\[\cos x\]
\cos x
\cos x
double f(double x) {
        double r339766 = x;
        double r339767 = cos(r339766);
        return r339767;
}

double f(double x) {
        double r339768 = x;
        double r339769 = cos(r339768);
        return r339769;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[\cos x\]
  2. Final simplification0

    \[\leadsto \cos x\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "cos(x)"
  :precision binary64
  (cos x))