Average Error: 29.3 → 0
Time: 1.8s
Precision: 64
Internal Precision: 1344
\[\left(a + 1000\right) - a\]
\[1000\]

Error

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 29.3

    \[\left(a + 1000\right) - a\]
  2. Applied simplify0

    \[\leadsto \color{blue}{1000}\]

Runtime

Time bar (total: 1.8s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (a)
  :name "a + 1000 - a"
  (- (+ a 1000) a))