Average Error: 0.0 → 0.0
Time: 670.0ms
Precision: 64
\[x \cdot \left(y + y\right)\]
\[x \cdot \left(y + y\right)\]
x \cdot \left(y + y\right)
x \cdot \left(y + y\right)
double f(double x, double y) {
        double r101491 = x;
        double r101492 = y;
        double r101493 = r101492 + r101492;
        double r101494 = r101491 * r101493;
        return r101494;
}

double f(double x, double y) {
        double r101495 = x;
        double r101496 = y;
        double r101497 = r101496 + r101496;
        double r101498 = r101495 * r101497;
        return r101498;
}

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

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

    \[\leadsto x \cdot \left(y + y\right)\]

Reproduce

herbie shell --seed 2019323 +o rules:numerics
(FPCore (x y)
  :name "Numeric.Integration.TanhSinh:simpson  from integration-0.2.1"
  :precision binary64
  (* x (+ y y)))