Average Error: 0.3 → 0.3
Time: 10.9s
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 r193533 = x;
        double r193534 = 27.0;
        double r193535 = r193533 * r193534;
        double r193536 = y;
        double r193537 = r193535 * r193536;
        return r193537;
}

double f(double x, double y) {
        double r193538 = x;
        double r193539 = 27.0;
        double r193540 = r193538 * r193539;
        double r193541 = y;
        double r193542 = r193540 * r193541;
        return r193542;
}

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