Average Error: 29.5 → 0
Time: 1.2s
Precision: 64
Internal precision: 128
\[\left(1 + x\right) - x\]
\[1\]

Error

Bits error versus x

Derivation

  1. Initial program 29.5

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

    \[\leadsto \color{blue}{1}\]
  3. Removed slow pow expressions

Runtime

Time bar (total: 1.2s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1091536035 752264586 1634757285 3231907676 345263672 2216162168)'
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))