Average Error: 0 → 0
Time: 850.0ms
Precision: binary64
\[\cos x\]
\[\cos x\]
\cos x
\cos x
double code(double x) {
	return ((double) cos(x));
}
double code(double x) {
	return ((double) 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

    \[\cos x\]
  2. Final simplification0

    \[\leadsto \cos x\]

Reproduce

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