Average Error: 0.3 → 0.3
Time: 19.3s
Precision: 64
\[\left(x \cdot 27.0\right) \cdot y\]
\[\left(x \cdot 27.0\right) \cdot y\]
\left(x \cdot 27.0\right) \cdot y
\left(x \cdot 27.0\right) \cdot y
double f(double x, double y) {
        double r10691722 = x;
        double r10691723 = 27.0;
        double r10691724 = r10691722 * r10691723;
        double r10691725 = y;
        double r10691726 = r10691724 * r10691725;
        return r10691726;
}

double f(double x, double y) {
        double r10691727 = x;
        double r10691728 = 27.0;
        double r10691729 = r10691727 * r10691728;
        double r10691730 = y;
        double r10691731 = r10691729 * r10691730;
        return r10691731;
}

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.3

    \[\left(x \cdot 27.0\right) \cdot y\]
  2. Final simplification0.3

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

Reproduce

herbie shell --seed 2019162 
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, F"
  (* (* x 27.0) y))