Average Error: 0.3 → 0.3
Time: 12.2s
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 r389146 = x;
        double r389147 = 27.0;
        double r389148 = r389146 * r389147;
        double r389149 = y;
        double r389150 = r389148 * r389149;
        return r389150;
}

double f(double x, double y) {
        double r389151 = x;
        double r389152 = 27.0;
        double r389153 = r389151 * r389152;
        double r389154 = y;
        double r389155 = r389153 * r389154;
        return r389155;
}

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