Average Error: 0.0 → 0.0
Time: 897.0ms
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 r281594 = 500.0;
        double r281595 = x;
        double r281596 = y;
        double r281597 = r281595 - r281596;
        double r281598 = r281594 * r281597;
        return r281598;
}

double f(double x, double y) {
        double r281599 = 500.0;
        double r281600 = x;
        double r281601 = y;
        double r281602 = r281600 - r281601;
        double r281603 = r281599 * r281602;
        return r281603;
}

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 2020046 
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, B"
  :precision binary64
  (* 500 (- x y)))