Average Error: 0 → 0
Time: 2.6s
Precision: 64
\[\left(x \cdot 16\right) \cdot x\]
\[x \cdot \left(16 \cdot x\right)\]
\left(x \cdot 16\right) \cdot x
x \cdot \left(16 \cdot x\right)
double f(double x) {
        double r9792334 = x;
        double r9792335 = 16.0;
        double r9792336 = r9792334 * r9792335;
        double r9792337 = r9792336 * r9792334;
        return r9792337;
}

double f(double x) {
        double r9792338 = x;
        double r9792339 = 16.0;
        double r9792340 = r9792339 * r9792338;
        double r9792341 = r9792338 * r9792340;
        return r9792341;
}

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(16 \cdot x\right)\]

Reproduce

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