Average Error: 0 → 0
Time: 851.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 r113106 = x;
        double r113107 = 16.0;
        double r113108 = r113106 * r113107;
        double r113109 = r113108 * r113106;
        return r113109;
}

double f(double x) {
        double r113110 = x;
        double r113111 = 16.0;
        double r113112 = r113110 * r113111;
        double r113113 = r113110 * r113112;
        return r113113;
}

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