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

Error

Bits error versus x

Bits error versus y

Target

Original0.1
Comparison0.1
Herbie0.1
\[ \left(x \cdot y\right) \cdot \left(1.0 - y\right) \]

Derivation

  1. Initial program 0.1

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

Runtime

Time bar (total: 15.8s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3164785650 1944664147 686971792 457343133 1920277082 986177025)'
(FPCore (x y)
  :name "Statistics.Distribution.Binomial:$cvariance from math-functions-0.1.5.2"

  :target
  (* (* x y) (- 1.0 y))

  (* (* x y) (- 1.0 y)))