Average Error: 2.7 → 2.7
Time: 1.1m
Precision: binary64
\[\tan \left(\frac{{x}^{\left(\log y\right)}}{z}\right)\]
\[\tan \left(\frac{{x}^{\left(\log y\right)}}{z}\right)\]
\tan \left(\frac{{x}^{\left(\log y\right)}}{z}\right)
\tan \left(\frac{{x}^{\left(\log y\right)}}{z}\right)
double code(double x, double y, double z) {
	return ((double) tan(((double) (((double) pow(x, ((double) log(y)))) / z))));
}
double code(double x, double y, double z) {
	return ((double) tan(((double) (((double) pow(x, ((double) log(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 2.7

    \[\tan \left(\frac{{x}^{\left(\log y\right)}}{z}\right)\]
  2. Final simplification2.7

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

Reproduce

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