Average Error: 0.0 → 0.0
Time: 1.9s
Precision: 64
\[200 \cdot \left(x - y\right)\]
\[200 \cdot \left(x - y\right)\]
200 \cdot \left(x - y\right)
200 \cdot \left(x - y\right)
double f(double x, double y) {
        double r270487 = 200.0;
        double r270488 = x;
        double r270489 = y;
        double r270490 = r270488 - r270489;
        double r270491 = r270487 * r270490;
        return r270491;
}

double f(double x, double y) {
        double r270492 = 200.0;
        double r270493 = x;
        double r270494 = y;
        double r270495 = r270493 - r270494;
        double r270496 = r270492 * r270495;
        return r270496;
}

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

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

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

Reproduce

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