Average Error: 39.0 → 0.0
Time: 15.3s
Precision: 64
Internal precision: 128
\[{\left(x + 1\right)}^2 - 1\]
\[\left(2 + x\right) \cdot x\]

Error

Bits error versus x

Derivation

  1. Initial program 39.0

    \[{\left(x + 1\right)}^2 - 1\]
  2. Applied simplify 0.0

    \[\leadsto \color{blue}{\left(2 + x\right) \cdot x}\]
  3. Removed slow pow expressions

Runtime

Time bar (total: 15.3s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3732288571 3089910199 4283913317 63467407 3474912533 1487999523)'
(FPCore (x)
  :name "Expanding a square"
  (- (sqr (+ x 1)) 1))