Average Error: 0.3 → 0.3
Time: 21.6s
Precision: 64
\[\left(x \cdot 27\right) \cdot y\]
\[\left(x \cdot 27\right) \cdot y\]
\left(x \cdot 27\right) \cdot y
\left(x \cdot 27\right) \cdot y
double f(double x, double y) {
        double r8581690 = x;
        double r8581691 = 27.0;
        double r8581692 = r8581690 * r8581691;
        double r8581693 = y;
        double r8581694 = r8581692 * r8581693;
        return r8581694;
}

double f(double x, double y) {
        double r8581695 = x;
        double r8581696 = 27.0;
        double r8581697 = r8581695 * r8581696;
        double r8581698 = y;
        double r8581699 = r8581697 * r8581698;
        return r8581699;
}

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\right) \cdot y\]
  2. Final simplification0.3

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

Reproduce

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