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

Error

Bits error versus x

Derivation

  1. Initial program 29.7

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

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

Runtime

Time bar (total: 1.0s)Debug logProfile

herbie shell --seed '#(1070833653 108281690 3330367898 3632331308 3494323072 43156186)' +o rules:numerics
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))