Average Error: 0 → 0
Time: 864.0ms
Precision: 64
\[\left(x \cdot 16\right) \cdot x\]
\[x \cdot \left(x \cdot 16\right)\]
\left(x \cdot 16\right) \cdot x
x \cdot \left(x \cdot 16\right)
double f(double x) {
        double r137909 = x;
        double r137910 = 16.0;
        double r137911 = r137909 * r137910;
        double r137912 = r137911 * r137909;
        return r137912;
}

double f(double x) {
        double r137913 = x;
        double r137914 = 16.0;
        double r137915 = r137913 * r137914;
        double r137916 = r137913 * r137915;
        return r137916;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[\left(x \cdot 16\right) \cdot x\]
  2. Simplified0

    \[\leadsto \color{blue}{x \cdot \left(x \cdot 16\right)}\]
  3. Final simplification0

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

Reproduce

herbie shell --seed 2019194 
(FPCore (x)
  :name "Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1"
  (* (* x 16.0) x))