Average Error: 0.0 → 0.0
Time: 1.8s
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 r280135 = 200.0;
        double r280136 = x;
        double r280137 = y;
        double r280138 = r280136 - r280137;
        double r280139 = r280135 * r280138;
        return r280139;
}

double f(double x, double y) {
        double r280140 = 200.0;
        double r280141 = x;
        double r280142 = y;
        double r280143 = r280141 - r280142;
        double r280144 = r280140 * r280143;
        return r280144;
}

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