Average Error: 0.0 → 0.0
Time: 16.1s
Precision: 64
\[\left(x \cdot y + z \cdot t\right) + a \cdot b\]
\[\left(z \cdot t + x \cdot y\right) + a \cdot b\]
\left(x \cdot y + z \cdot t\right) + a \cdot b
\left(z \cdot t + x \cdot y\right) + a \cdot b
double f(double x, double y, double z, double t, double a, double b) {
        double r6592448 = x;
        double r6592449 = y;
        double r6592450 = r6592448 * r6592449;
        double r6592451 = z;
        double r6592452 = t;
        double r6592453 = r6592451 * r6592452;
        double r6592454 = r6592450 + r6592453;
        double r6592455 = a;
        double r6592456 = b;
        double r6592457 = r6592455 * r6592456;
        double r6592458 = r6592454 + r6592457;
        return r6592458;
}

double f(double x, double y, double z, double t, double a, double b) {
        double r6592459 = z;
        double r6592460 = t;
        double r6592461 = r6592459 * r6592460;
        double r6592462 = x;
        double r6592463 = y;
        double r6592464 = r6592462 * r6592463;
        double r6592465 = r6592461 + r6592464;
        double r6592466 = a;
        double r6592467 = b;
        double r6592468 = r6592466 * r6592467;
        double r6592469 = r6592465 + r6592468;
        return r6592469;
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

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

    \[\leadsto \left(z \cdot t + x \cdot y\right) + a \cdot b\]

Reproduce

herbie shell --seed 2019158 
(FPCore (x y z t a b)
  :name "Linear.V3:$cdot from linear-1.19.1.3, B"
  (+ (+ (* x y) (* z t)) (* a b)))