Average Error: 0.0 → 0.0
Time: 4.5s
Precision: 64
Internal precision: 128
\[x \cdot \left(x - 1.0\right)\]
\[x \cdot \left(x - 1.0\right)\]

Error

Bits error versus x

Target

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

Derivation

  1. Initial program 0.0

    \[x \cdot \left(x - 1.0\right)\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 4.5s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1116470524 2554797153 747381371 4251786879 357479142 3787119476)'
(FPCore (x)
  :name "Statistics.Correlation.Kendall:numOfTiesBy from math-functions-0.1.5.2"

  :target
  (- (sqr x) x)

  (* x (- x 1.0)))