Average Error: 0 → 0
Time: 352.0ms
Precision: binary64
\[\frac{y}{2}\]
\[\frac{y}{2}\]
\frac{y}{2}
\frac{y}{2}
double code(double y) {
	return ((double) (y / 2.0));
}
double code(double y) {
	return ((double) (y / 2.0));
}

Error

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[\frac{y}{2}\]
  2. Final simplification0

    \[\leadsto \frac{y}{2}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (y)
  :name "(/ y 2)"
  :precision binary64
  (/ y 2.0))