Average Error: 38.9 → 0.0
Time: 45.5s
Precision: 64
Internal Precision: 1344
\[\left(\left(1 + x\right) \cdot \left(1 + x\right) - x\right) - 1\]
\[x + x \cdot x\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 38.9

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

    \[\leadsto \color{blue}{x + x \cdot x}\]

Runtime

Time bar (total: 45.5s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "(1+x)*(1+x)-x-1"
  (- (- (* (+ 1 x) (+ 1 x)) x) 1))