Average Error: 0.0 → 0.0
Time: 19.6s
Precision: 64
\[x \cdot \left(1 - y\right)\]
\[\left(1 - y\right) \cdot x\]
x \cdot \left(1 - y\right)
\left(1 - y\right) \cdot x
double f(double x, double y) {
        double r12800203 = x;
        double r12800204 = 1.0;
        double r12800205 = y;
        double r12800206 = r12800204 - r12800205;
        double r12800207 = r12800203 * r12800206;
        return r12800207;
}

double f(double x, double y) {
        double r12800208 = 1.0;
        double r12800209 = y;
        double r12800210 = r12800208 - r12800209;
        double r12800211 = x;
        double r12800212 = r12800210 * r12800211;
        return r12800212;
}

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.0

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

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

Reproduce

herbie shell --seed 2019200 
(FPCore (x y)
  :name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, H"
  (* x (- 1.0 y)))