Average Error: 0 → 0
Time: 860.0ms
Precision: binary64
\[x = 0 \lor x = 10\]
\[x\]
\[x\]
x
x
(FPCore (x) :precision binary64 x)
(FPCore (x) :precision binary64 x)
double code(double x) {
	return x;
}
double code(double x) {
	return 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

    \[x\]
  2. Final simplification0

    \[\leadsto x\]

Reproduce

herbie shell --seed 2020233 
(FPCore (x)
  :name "x"
  :precision binary64
  :pre (or (== x 0.0) (== x 10.0))
  x)