Average Error: 0.1 → 0.1
Time: 17.1s
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 r31845 = x;
        double r31846 = y;
        double r31847 = r31845 * r31846;
        double r31848 = 1.0;
        double r31849 = r31848 - r31846;
        double r31850 = r31847 * r31849;
        return r31850;
}

double f(double x, double y) {
        double r31851 = x;
        double r31852 = y;
        double r31853 = r31851 * r31852;
        double r31854 = 1.0;
        double r31855 = r31854 - r31852;
        double r31856 = r31853 * r31855;
        return r31856;
}

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 2019323 +o rules:numerics
(FPCore (x y)
  :name "Statistics.Distribution.Binomial:$cvariance from math-functions-0.1.5.2"
  :precision binary64
  (* (* x y) (- 1 y)))