Average Error: 0.1 → 0.1
Time: 30.6s
Precision: 64
\[\left(x \cdot y\right) \cdot \left(1 - y\right)\]
\[\left(x \cdot y\right) \cdot \left(1 - y\right)\]
\left(x \cdot y\right) \cdot \left(1 - y\right)
\left(x \cdot y\right) \cdot \left(1 - y\right)
double f(double x, double y) {
        double r31487 = x;
        double r31488 = y;
        double r31489 = r31487 * r31488;
        double r31490 = 1.0;
        double r31491 = r31490 - r31488;
        double r31492 = r31489 * r31491;
        return r31492;
}

double f(double x, double y) {
        double r31493 = x;
        double r31494 = y;
        double r31495 = r31493 * r31494;
        double r31496 = 1.0;
        double r31497 = r31496 - r31494;
        double r31498 = r31495 * r31497;
        return r31498;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\left(x \cdot y\right) \cdot \left(1 - y\right)\]
  2. Final simplification0.1

    \[\leadsto \left(x \cdot y\right) \cdot \left(1 - y\right)\]

Reproduce

herbie shell --seed 2019200 
(FPCore (x y)
  :name "Statistics.Distribution.Binomial:$cvariance from math-functions-0.1.5.2"
  (* (* x y) (- 1 y)))