Average Error: 0 → 0
Time: 352.0ms
Precision: binary64
\[4 + x\]
\[4 + x\]
4 + x
4 + x
double code(double x) {
	return ((double) (4.0 + x));
}
double code(double x) {
	return ((double) (4.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

    \[4 + x\]
  2. Final simplification0

    \[\leadsto 4 + x\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(+ 4 x)"
  :precision binary64
  (+ 4.0 x))