Average Error: 0.0 → 0.0
Time: 2.0s
Precision: 64
Internal precision: 128
\[x \cdot x - 1.0\]
\[x \cdot x - 1.0\]

Error

Bits error versus x

Target

Original0.0
Comparison0.0
Herbie0.0
\[ {x}^2 - 1.0 \]

Derivation

  1. Initial program 0.0

    \[x \cdot x - 1.0\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 2.0s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(2250162743 1214757312 3498062964 445294828 1348516776 1862167643)'
(FPCore (x)
  :name "Data.Random.Dice:roll from dice-0.1"

  :target
  (- (sqr x) 1.0)

  (- (* x x) 1.0))