Average Error: 0 → 0
Time: 732.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 r7418961 = x;
        double r7418962 = 16.0;
        double r7418963 = r7418961 * r7418962;
        double r7418964 = r7418963 * r7418961;
        return r7418964;
}

double f(double x) {
        double r7418965 = x;
        double r7418966 = 16.0;
        double r7418967 = r7418965 * r7418966;
        double r7418968 = r7418965 * r7418967;
        return r7418968;
}

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