Average Error: 0.2 → 0.2
Time: 30.3s
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 r23174 = x;
        double r23175 = 27.0;
        double r23176 = r23174 * r23175;
        double r23177 = y;
        double r23178 = r23176 * r23177;
        return r23178;
}

double f(double x, double y) {
        double r23179 = x;
        double r23180 = 27.0;
        double r23181 = r23179 * r23180;
        double r23182 = y;
        double r23183 = r23181 * r23182;
        return r23183;
}

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

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

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

Reproduce

herbie shell --seed 2019315 +o rules:numerics
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, F"
  :precision binary64
  (* (* x 27) y))