Average Error: 0.2 → 0.2
Time: 436.0ms
Precision: binary64
\[\frac{x \cdot 0.82499999999999996}{75 \cdot 16384}\]
\[\frac{x \cdot 0.82499999999999996}{75 \cdot 16384}\]
\frac{x \cdot 0.82499999999999996}{75 \cdot 16384}
\frac{x \cdot 0.82499999999999996}{75 \cdot 16384}
double code(double x) {
	return ((double) (((double) (x * 0.825)) / ((double) (75.0 * 16384.0))));
}
double code(double x) {
	return ((double) (((double) (x * 0.825)) / ((double) (75.0 * 16384.0))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\frac{x \cdot 0.82499999999999996}{75 \cdot 16384}\]
  2. Final simplification0.2

    \[\leadsto \frac{x \cdot 0.82499999999999996}{75 \cdot 16384}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ (* x 0.825) (* 75 16384))"
  :precision binary64
  (/ (* x 0.825) (* 75.0 16384.0)))