Average Error: 1.6 → 1.6
Time: 1.4m
Precision: binary64
\[\frac{1}{\tan \left(0.0 - \pi \cdot x\right)}\]
\[\frac{1}{\tan \left(0.0 - \pi \cdot x\right)}\]
\frac{1}{\tan \left(0.0 - \pi \cdot x\right)}
\frac{1}{\tan \left(0.0 - \pi \cdot x\right)}
double code(double x) {
	return ((double) (1.0 / ((double) tan(((double) (0.0 - ((double) (((double) M_PI) * x))))))));
}
double code(double x) {
	return ((double) (1.0 / ((double) tan(((double) (0.0 - ((double) (((double) M_PI) * x))))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 1.6

    \[\frac{1}{\tan \left(0.0 - \pi \cdot x\right)}\]
  2. Final simplification1.6

    \[\leadsto \frac{1}{\tan \left(0.0 - \pi \cdot x\right)}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ 1 (tan (- 0.0 (* PI x))))"
  :precision binary64
  (/ 1.0 (tan (- 0.0 (* PI x)))))