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 r205290 = 200.0;
        double r205291 = x;
        double r205292 = y;
        double r205293 = r205291 - r205292;
        double r205294 = r205290 * r205293;
        return r205294;
}

double f(double x, double y) {
        double r205295 = 200.0;
        double r205296 = x;
        double r205297 = y;
        double r205298 = r205296 - r205297;
        double r205299 = r205295 * r205298;
        return r205299;
}

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 2020002 +o rules:numerics
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"
  :precision binary64
  (* 200 (- x y)))