Average Error: 29.2 → 0
Time: 852.0ms
Precision: 64
Internal Precision: 1408
\[\left(1 + x\right) - x\]
\[1\]

Error

Bits error versus x

Derivation

  1. Initial program 29.2

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

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

Runtime

Time bar (total: 852.0ms)Debug logProfile

herbie shell --seed '#(1064269945 2896236262 301053905 1701069080 1701464310 1614783279)' +o rules:numerics
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))