Average Error: 0 → 0
Time: 938.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 r9357273 = x;
        double r9357274 = 16.0;
        double r9357275 = r9357273 * r9357274;
        double r9357276 = r9357275 * r9357273;
        return r9357276;
}

double f(double x) {
        double r9357277 = x;
        double r9357278 = 16.0;
        double r9357279 = r9357277 * r9357278;
        double r9357280 = r9357277 * r9357279;
        return r9357280;
}

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