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

Runtime

Time bar (total: 931.0ms)Debug logProfile

herbie shell --seed '#(1064142603 2264778304 1099457153 2263728771 548962824 2075662743)' 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))