Average Error: 29.7 → 0
Time: 942.0ms
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}\]
  3. Removed slow pow expressions.

Runtime

Time bar (total: 942.0ms)Debug logProfile

herbie shell --seed '#(1063887919 1001927924 2696263647 3389048154 2538796075 2997552743)' 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))