Average Error: 0 → 0
Time: 914.0ms
Precision: binary64
\[\left\lceil\tan x\right\rceil\]
\[\left\lceil\tan x\right\rceil\]
\left\lceil\tan x\right\rceil
\left\lceil\tan x\right\rceil
double code(double x) {
	return ((double) ceil(((double) tan(x))));
}
double code(double x) {
	return ((double) ceil(((double) tan(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

    \[\left\lceil\tan x\right\rceil\]
  2. Final simplification0

    \[\leadsto \left\lceil\tan x\right\rceil\]

Reproduce

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