Average Error: 0.0 → 0.0
Time: 823.0ms
Precision: binary64
\[\cos^{-1} \left(\frac{1}{\mathsf{hypot}\left(x, y\right)}\right)\]
\[\cos^{-1} \left(\frac{1}{\mathsf{hypot}\left(x, y\right)}\right)\]
\cos^{-1} \left(\frac{1}{\mathsf{hypot}\left(x, y\right)}\right)
\cos^{-1} \left(\frac{1}{\mathsf{hypot}\left(x, y\right)}\right)
double code(double x, double y) {
	return ((double) acos(((double) (1.0 / ((double) hypot(x, y))))));
}
double code(double x, double y) {
	return ((double) acos(((double) (1.0 / ((double) hypot(x, y))))));
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\cos^{-1} \left(\frac{1}{\mathsf{hypot}\left(x, y\right)}\right)\]
  2. Final simplification0.0

    \[\leadsto \cos^{-1} \left(\frac{1}{\mathsf{hypot}\left(x, y\right)}\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y)
  :name "(acos (/ 1.0 (hypot x y)))"
  :precision binary64
  (acos (/ 1.0 (hypot x y))))