Average Error: 0 → 0
Time: 752.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 r6500612 = x;
        double r6500613 = 16.0;
        double r6500614 = r6500612 * r6500613;
        double r6500615 = r6500614 * r6500612;
        return r6500615;
}

double f(double x) {
        double r6500616 = x;
        double r6500617 = 16.0;
        double r6500618 = r6500616 * r6500617;
        double r6500619 = r6500616 * r6500618;
        return r6500619;
}

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