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

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

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

Reproduce

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