Average Error: 0 → 0
Time: 772.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 r10166126 = x;
        double r10166127 = 16.0;
        double r10166128 = r10166126 * r10166127;
        double r10166129 = r10166128 * r10166126;
        return r10166129;
}

double f(double x) {
        double r10166130 = x;
        double r10166131 = 16.0;
        double r10166132 = r10166130 * r10166131;
        double r10166133 = r10166130 * r10166132;
        return r10166133;
}

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. Final simplification0

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

Reproduce

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