Average Error: 0.0 → 0.0
Time: 2.0s
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 r231696 = 500.0;
        double r231697 = x;
        double r231698 = y;
        double r231699 = r231697 - r231698;
        double r231700 = r231696 * r231699;
        return r231700;
}

double f(double x, double y) {
        double r231701 = 500.0;
        double r231702 = x;
        double r231703 = y;
        double r231704 = r231702 - r231703;
        double r231705 = r231701 * r231704;
        return r231705;
}

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