Average Error: 0.2 → 0.2
Time: 10.7s
Precision: 64
\[\left(x \cdot 3\right) \cdot x\]
\[\left(x \cdot 3\right) \cdot x\]
\left(x \cdot 3\right) \cdot x
\left(x \cdot 3\right) \cdot x
double f(double x) {
        double r200290 = x;
        double r200291 = 3.0;
        double r200292 = r200290 * r200291;
        double r200293 = r200292 * r200290;
        return r200293;
}

double f(double x) {
        double r200294 = x;
        double r200295 = 3.0;
        double r200296 = r200294 * r200295;
        double r200297 = r200296 * r200294;
        return r200297;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

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

    \[\leadsto \left(x \cdot 3\right) \cdot x\]

Reproduce

herbie shell --seed 2019198 
(FPCore (x)
  :name "Diagrams.Tangent:$catParam from diagrams-lib-1.3.0.3, F"
  (* (* x 3.0) x))