Average Error: 0 → 0
Time: 654.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 r150564 = x;
        double r150565 = 16.0;
        double r150566 = r150564 * r150565;
        double r150567 = r150566 * r150564;
        return r150567;
}

double f(double x) {
        double r150568 = x;
        double r150569 = 16.0;
        double r150570 = r150568 * r150569;
        double r150571 = r150568 * r150570;
        return r150571;
}

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