Average Error: 0 → 0
Time: 684.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 r341019 = x;
        double r341020 = 16.0;
        double r341021 = r341019 * r341020;
        double r341022 = r341021 * r341019;
        return r341022;
}

double f(double x) {
        double r341023 = x;
        double r341024 = 16.0;
        double r341025 = r341023 * r341024;
        double r341026 = r341023 * r341025;
        return r341026;
}

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 2019174 
(FPCore (x)
  :name "Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1"
  (* (* x 16.0) x))