Average Error: 0 → 0
Time: 426.0ms
Precision: binary64
\[\frac{1000000001 + 10^{9}}{x}\]
\[\frac{1000000001 + 10^{9}}{x}\]
\frac{1000000001 + 10^{9}}{x}
\frac{1000000001 + 10^{9}}{x}
double code(double x) {
	return ((double) (((double) (1000000001.0 + 1000000000.0)) / x));
}
double code(double x) {
	return ((double) (((double) (1000000001.0 + 1000000000.0)) / x));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[\frac{1000000001 + 10^{9}}{x}\]
  2. Final simplification0

    \[\leadsto \frac{1000000001 + 10^{9}}{x}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(/ (+ 1000000001 1000000000.0) x)"
  :precision binary64
  (/ (+ 1000000001.0 1000000000.0) x))