Average Error: 0.5 → 0.5
Time: 594.0ms
Precision: binary64
\[\cos \left(\frac{\tan^{-1} t}{3}\right)\]
\[\cos \left(\frac{\tan^{-1} t}{3}\right)\]
\cos \left(\frac{\tan^{-1} t}{3}\right)
\cos \left(\frac{\tan^{-1} t}{3}\right)
double code(double t) {
	return ((double) cos(((double) (((double) atan(t)) / 3.0))));
}
double code(double t) {
	return ((double) cos(((double) (((double) atan(t)) / 3.0))));
}

Error

Bits error versus t

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.5

    \[\cos \left(\frac{\tan^{-1} t}{3}\right)\]
  2. Final simplification0.5

    \[\leadsto \cos \left(\frac{\tan^{-1} t}{3}\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (t)
  :name "(cos (/ (atan t) 3))"
  :precision binary64
  (cos (/ (atan t) 3.0)))