Average Error: 0 → 0
Time: 651.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 r151620 = x;
        double r151621 = 16.0;
        double r151622 = r151620 * r151621;
        double r151623 = r151622 * r151620;
        return r151623;
}

double f(double x) {
        double r151624 = x;
        double r151625 = 16.0;
        double r151626 = r151624 * r151625;
        double r151627 = r151626 * r151624;
        return r151627;
}

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