Average Error: 20.2 → 20.2
Time: 792.0ms
Precision: binary64
\[\frac{1}{\sqrt{x + y \cdot y}}\]
\[\frac{1}{\sqrt{x + y \cdot y}}\]
\frac{1}{\sqrt{x + y \cdot y}}
\frac{1}{\sqrt{x + y \cdot y}}
double code(double x, double y) {
	return ((double) (1.0 / ((double) sqrt(((double) (x + ((double) (y * y))))))));
}
double code(double x, double y) {
	return ((double) (1.0 / ((double) sqrt(((double) (x + ((double) (y * 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 20.2

    \[\frac{1}{\sqrt{x + y \cdot y}}\]
  2. Final simplification20.2

    \[\leadsto \frac{1}{\sqrt{x + y \cdot y}}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y)
  :name "(/ 1.0 (sqrt (+ x (* y y))))"
  :precision binary64
  (/ 1.0 (sqrt (+ x (* y y)))))