Average Error: 0.3 → 0.3
Time: 21.7s
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 r9544459 = x;
        double r9544460 = 27.0;
        double r9544461 = r9544459 * r9544460;
        double r9544462 = y;
        double r9544463 = r9544461 * r9544462;
        return r9544463;
}

double f(double x, double y) {
        double r9544464 = x;
        double r9544465 = 27.0;
        double r9544466 = r9544464 * r9544465;
        double r9544467 = y;
        double r9544468 = r9544466 * r9544467;
        return r9544468;
}

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