Average Error: 0 → 0
Time: 911.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 r20237891 = x;
        double r20237892 = 16.0;
        double r20237893 = r20237891 * r20237892;
        double r20237894 = r20237893 * r20237891;
        return r20237894;
}

double f(double x) {
        double r20237895 = x;
        double r20237896 = 16.0;
        double r20237897 = r20237895 * r20237896;
        double r20237898 = r20237897 * r20237895;
        return r20237898;
}

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