Average Error: 0.0 → 0.0
Time: 2.6s
Precision: 64
\[500 \cdot \left(x - y\right)\]
\[500 \cdot \left(x - y\right)\]
500 \cdot \left(x - y\right)
500 \cdot \left(x - y\right)
double f(double x, double y) {
        double r259491 = 500.0;
        double r259492 = x;
        double r259493 = y;
        double r259494 = r259492 - r259493;
        double r259495 = r259491 * r259494;
        return r259495;
}

double f(double x, double y) {
        double r259496 = 500.0;
        double r259497 = x;
        double r259498 = y;
        double r259499 = r259497 - r259498;
        double r259500 = r259496 * r259499;
        return r259500;
}

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

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

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

Reproduce

herbie shell --seed 2020060 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, B"
  :precision binary64
  (* 500 (- x y)))