Average Error: 28.4 → 28.4
Time: 972.0ms
Precision: binary64
\[\tan \left(x + 1\right)\]
\[\tan \left(x + 1\right)\]
\tan \left(x + 1\right)
\tan \left(x + 1\right)
double code(double x) {
	return ((double) tan(((double) (x + 1.0))));
}
double code(double x) {
	return ((double) tan(((double) (x + 1.0))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 28.4

    \[\tan \left(x + 1\right)\]
  2. Final simplification28.4

    \[\leadsto \tan \left(x + 1\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(tan (+ x 1))"
  :precision binary64
  (tan (+ x 1.0)))