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

Error

Bits error versus x

Derivation

  1. Initial program 29.4

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

    \[\leadsto \color{blue}{1}\]
  3. Removed slow pow expressions.

Runtime

Time bar (total: 955.0ms)Debug logProfile

herbie shell --seed '#(1063918822 1317656903 149611143 960234660 3115079586 2767113011)' 
(FPCore (x)
  :name "Cancel like terms"
  (- (+ 1 x) x))