Average Error: 0.0 → 0.0
Time: 11.5s
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 r30122 = 200.0;
        double r30123 = x;
        double r30124 = y;
        double r30125 = r30123 - r30124;
        double r30126 = r30122 * r30125;
        return r30126;
}

double f(double x, double y) {
        double r30127 = 200.0;
        double r30128 = x;
        double r30129 = y;
        double r30130 = r30128 - r30129;
        double r30131 = r30127 * r30130;
        return r30131;
}

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