Average Error: 0.3 → 0.3
Time: 436.0ms
Precision: binary64
\[\frac{x \cdot 3.2999999999999998}{75 \cdot 65536}\]
\[\frac{x \cdot 3.2999999999999998}{75 \cdot 65536}\]
\frac{x \cdot 3.2999999999999998}{75 \cdot 65536}
\frac{x \cdot 3.2999999999999998}{75 \cdot 65536}
double code(double x) {
	return ((double) (((double) (x * 3.3)) / ((double) (75.0 * 65536.0))));
}
double code(double x) {
	return ((double) (((double) (x * 3.3)) / ((double) (75.0 * 65536.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.3

    \[\frac{x \cdot 3.2999999999999998}{75 \cdot 65536}\]
  2. Final simplification0.3

    \[\leadsto \frac{x \cdot 3.2999999999999998}{75 \cdot 65536}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ (* x 3.3) (* 75 65536))"
  :precision binary64
  (/ (* x 3.3) (* 75.0 65536.0)))