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

Error

Bits error versus x

Derivation

  1. Initial program 29.3

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

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

Runtime

Time bar (total: 860.0ms)Debug logProfile

herbie shell --seed '#(1064397287 3527694221 3797617954 1138343853 2854031332 1153838279)' 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))