Average Error: 0 → 0
Time: 357.0ms
Precision: 64
\[\left(x \cdot 16\right) \cdot x\]
\[\left(x \cdot 16\right) \cdot x\]
\left(x \cdot 16\right) \cdot x
\left(x \cdot 16\right) \cdot x
double f(double x) {
        double r188773 = x;
        double r188774 = 16.0;
        double r188775 = r188773 * r188774;
        double r188776 = r188775 * r188773;
        return r188776;
}

double f(double x) {
        double r188777 = x;
        double r188778 = 16.0;
        double r188779 = r188777 * r188778;
        double r188780 = r188779 * r188777;
        return r188780;
}

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

Reproduce

herbie shell --seed 2019362 +o rules:numerics
(FPCore (x)
  :name "Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1"
  :precision binary64
  (* (* x 16) x))