Average Error: 29.6 → 0
Time: 1.5s
Precision: 64
Internal Precision: 1408
\[\left(1 + x\right) - x\]
\[1\]

Error

Bits error versus x

Derivation

  1. Initial program 29.6

    \[\left(1 + x\right) - x\]
  2. Applied simplify0

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

Runtime

Time bar (total: 1.5s)Debug log

herbie shell --seed '#(2923758451 3797037376 1893868947 4158035032 3028402600 1019853320)' 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))