Average Error: 0.1 → 0.1
Time: 38.4s
Precision: 64
\[\left(x \cdot y\right) \cdot \left(1 - y\right)\]
\[\left(1 - y\right) \cdot \left(y \cdot x\right)\]
\left(x \cdot y\right) \cdot \left(1 - y\right)
\left(1 - y\right) \cdot \left(y \cdot x\right)
double f(double x, double y) {
        double r1994454 = x;
        double r1994455 = y;
        double r1994456 = r1994454 * r1994455;
        double r1994457 = 1.0;
        double r1994458 = r1994457 - r1994455;
        double r1994459 = r1994456 * r1994458;
        return r1994459;
}

double f(double x, double y) {
        double r1994460 = 1.0;
        double r1994461 = y;
        double r1994462 = r1994460 - r1994461;
        double r1994463 = x;
        double r1994464 = r1994461 * r1994463;
        double r1994465 = r1994462 * r1994464;
        return r1994465;
}

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(1 - y\right) \cdot \left(y \cdot x\right)\]

Reproduce

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