Average Error: 0.2 → 0.2
Time: 1.6s
Precision: binary64
\[\tan^{-1} \left(e^{\frac{1}{\sin x}}\right)\]
\[\tan^{-1} \left(e^{\frac{1}{\sin x}}\right)\]
\tan^{-1} \left(e^{\frac{1}{\sin x}}\right)
\tan^{-1} \left(e^{\frac{1}{\sin x}}\right)
double code(double x) {
	return ((double) atan(((double) exp(((double) (1.0 / ((double) sin(x))))))));
}
double code(double x) {
	return ((double) atan(((double) exp(((double) (1.0 / ((double) sin(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.2

    \[\tan^{-1} \left(e^{\frac{1}{\sin x}}\right)\]
  2. Final simplification0.2

    \[\leadsto \tan^{-1} \left(e^{\frac{1}{\sin x}}\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(atan (exp (/ 1.0 (sin x))))"
  :precision binary64
  (atan (exp (/ 1.0 (sin x)))))