Average Error: 0.3 → 0.3
Time: 5.0s
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 r160587 = x;
        double r160588 = 27.0;
        double r160589 = r160587 * r160588;
        double r160590 = y;
        double r160591 = r160589 * r160590;
        return r160591;
}

double f(double x, double y) {
        double r160592 = x;
        double r160593 = 27.0;
        double r160594 = r160592 * r160593;
        double r160595 = y;
        double r160596 = r160594 * r160595;
        return r160596;
}

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 2019194 
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, F"
  (* (* x 27.0) y))