Average Error: 0 → 0
Time: 900.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 r8028057 = x;
        double r8028058 = 16.0;
        double r8028059 = r8028057 * r8028058;
        double r8028060 = r8028059 * r8028057;
        return r8028060;
}

double f(double x) {
        double r8028061 = x;
        double r8028062 = 16.0;
        double r8028063 = r8028061 * r8028062;
        double r8028064 = r8028061 * r8028063;
        return r8028064;
}

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