Average Error: 0.3 → 0.3
Time: 27.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 r172386 = x;
        double r172387 = 27.0;
        double r172388 = r172386 * r172387;
        double r172389 = y;
        double r172390 = r172388 * r172389;
        return r172390;
}

double f(double x, double y) {
        double r172391 = x;
        double r172392 = 27.0;
        double r172393 = r172391 * r172392;
        double r172394 = y;
        double r172395 = r172393 * r172394;
        return r172395;
}

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 2019326 +o rules:numerics
(FPCore (x y)
  :name "Diagrams.Solve.Polynomial:cubForm  from diagrams-solve-0.1, F"
  :precision binary64
  (* (* x 27) y))