Average Error: 0 → 0
Time: 962.0ms
Precision: 64
\[\left(x \cdot 16.0\right) \cdot x\]
\[x \cdot \left(x \cdot 16.0\right)\]
\left(x \cdot 16.0\right) \cdot x
x \cdot \left(x \cdot 16.0\right)
double f(double x) {
        double r8467528 = x;
        double r8467529 = 16.0;
        double r8467530 = r8467528 * r8467529;
        double r8467531 = r8467530 * r8467528;
        return r8467531;
}

double f(double x) {
        double r8467532 = x;
        double r8467533 = 16.0;
        double r8467534 = r8467532 * r8467533;
        double r8467535 = r8467532 * r8467534;
        return r8467535;
}

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.0\right) \cdot x\]
  2. Final simplification0

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

Reproduce

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