Average Error: 39.5 → 0.0
Time: 26.4s
Precision: 64
Internal Precision: 1408
\[\left(x + 1\right) \cdot \left(x + 1\right) - 1\]
\[x \cdot x + \left(x + x\right)\]

Error

Bits error versus x

Derivation

  1. Initial program 39.5

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

    \[\leadsto \color{blue}{x \cdot x + \left(x + x\right)}\]

Runtime

Time bar (total: 26.4s)Debug logProfile

herbie shell --seed '#(1070706311 3771791028 4128836681 4194990999 2341756049 504035650)' 
(FPCore (x)
  :name "Expanding a square"
  (- (* (+ x 1) (+ x 1)) 1))