Average Error: 2.9 → 2.9
Time: 912.0ms
Precision: binary64
\[\frac{x}{\left(2 \cdot {\left(1 + y\right)}^{2}\right) \cdot y}\]
\[\frac{x}{\left(2 \cdot {\left(1 + y\right)}^{2}\right) \cdot y}\]
\frac{x}{\left(2 \cdot {\left(1 + y\right)}^{2}\right) \cdot y}
\frac{x}{\left(2 \cdot {\left(1 + y\right)}^{2}\right) \cdot y}
double code(double x, double y) {
	return ((double) (x / ((double) (((double) (2.0 * ((double) pow(((double) (1.0 + y)), 2.0)))) * y))));
}
double code(double x, double y) {
	return ((double) (x / ((double) (((double) (2.0 * ((double) pow(((double) (1.0 + y)), 2.0)))) * 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 2.9

    \[\frac{x}{\left(2 \cdot {\left(1 + y\right)}^{2}\right) \cdot y}\]
  2. Final simplification2.9

    \[\leadsto \frac{x}{\left(2 \cdot {\left(1 + y\right)}^{2}\right) \cdot y}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y)
  :name "(/ x (* (* 2 (pow (+ 1 y) 2)) y))"
  :precision binary64
  (/ x (* (* 2.0 (pow (+ 1.0 y) 2.0)) y)))