Average Error: 0.0 → 0.0
Time: 2.6s
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 r194855 = 200.0;
        double r194856 = x;
        double r194857 = y;
        double r194858 = r194856 - r194857;
        double r194859 = r194855 * r194858;
        return r194859;
}

double f(double x, double y) {
        double r194860 = 200.0;
        double r194861 = x;
        double r194862 = y;
        double r194863 = r194861 - r194862;
        double r194864 = r194860 * r194863;
        return r194864;
}

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