Average Error: 0.0 → 0.0
Time: 412.0ms
Precision: binary64
\[\frac{x + 265000.5}{8.64 \cdot 10^{7}}\]
\[\frac{x + 265000.5}{8.64 \cdot 10^{7}}\]
\frac{x + 265000.5}{8.64 \cdot 10^{7}}
\frac{x + 265000.5}{8.64 \cdot 10^{7}}
double code(double x) {
	return ((double) (((double) (x + 265000.5)) / 86400000.0));
}
double code(double x) {
	return ((double) (((double) (x + 265000.5)) / 86400000.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 + 265000.5}{8.64 \cdot 10^{7}}\]
  2. Final simplification0.0

    \[\leadsto \frac{x + 265000.5}{8.64 \cdot 10^{7}}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(/ (+ x 265000.5) 86400000.0)"
  :precision binary64
  (/ (+ x 265000.5) 86400000.0))