Average Error: 0.0 → 0.0
Time: 954.0ms
Precision: binary64
\[\sqrt{\left(x + 1 \cdot y\right) + 1}\]
\[\sqrt{\left(x + 1 \cdot y\right) + 1}\]
\sqrt{\left(x + 1 \cdot y\right) + 1}
\sqrt{\left(x + 1 \cdot y\right) + 1}
double code(double x, double y) {
	return ((double) sqrt(((double) (((double) (x + ((double) (1.0 * y)))) + 1.0))));
}
double code(double x, double y) {
	return ((double) sqrt(((double) (((double) (x + ((double) (1.0 * y)))) + 1.0))));
}

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

    \[\sqrt{\left(x + 1 \cdot y\right) + 1}\]
  2. Final simplification0.0

    \[\leadsto \sqrt{\left(x + 1 \cdot y\right) + 1}\]

Reproduce

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