Average Error: 29.5 → 0
Time: 618.0ms
Precision: 64
Internal Precision: 1344
\[\left(1 + x\right) - x\]
\[1\]

Error

Bits error versus x

Derivation

  1. Initial program 29.5

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

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

Runtime

Time bar (total: 618.0ms)Debug logProfile

herbie shell --seed '#(1072107073 2127697367 3936270018 2300570620 2134894798 4023771849)' 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))