Average Error: 0 → 0
Time: 4.2s
Precision: 64
\[\cos x\]
\[\cos x\]
\cos x
\cos x
double f(double x) {
        double r1934661 = x;
        double r1934662 = cos(r1934661);
        return r1934662;
}

double f(double x) {
        double r1934663 = x;
        double r1934664 = cos(r1934663);
        return r1934664;
}

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))