Average Error: 14.3 → 14.3
Time: 6.5s
Precision: binary64
\[\tan \left(\frac{{x}^{y}}{z}\right)\]
\[\tan \left(\frac{{x}^{y}}{z}\right)\]
\tan \left(\frac{{x}^{y}}{z}\right)
\tan \left(\frac{{x}^{y}}{z}\right)
double code(double x, double y, double z) {
	return ((double) tan(((double) (((double) pow(x, y)) / z))));
}
double code(double x, double y, double z) {
	return ((double) tan(((double) (((double) pow(x, y)) / z))));
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 14.3

    \[\tan \left(\frac{{x}^{y}}{z}\right)\]
  2. Final simplification14.3

    \[\leadsto \tan \left(\frac{{x}^{y}}{z}\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y z)
  :name "(tan (/ (pow x y) z))"
  :precision binary64
  (tan (/ (pow x y) z)))