Average Error: 0.2 → 0.2
Time: 14.5s
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 r144073 = x;
        double r144074 = 3.0;
        double r144075 = r144073 * r144074;
        double r144076 = r144075 * r144073;
        return r144076;
}

double f(double x) {
        double r144077 = x;
        double r144078 = 3.0;
        double r144079 = r144077 * r144078;
        double r144080 = r144079 * r144077;
        return r144080;
}

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 2019199 
(FPCore (x)
  :name "Diagrams.Tangent:$catParam from diagrams-lib-1.3.0.3, F"
  (* (* x 3.0) x))