Average Error: 0 → 0
Time: 351.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 r162711 = x;
        double r162712 = 16.0;
        double r162713 = r162711 * r162712;
        double r162714 = r162713 * r162711;
        return r162714;
}

double f(double x) {
        double r162715 = x;
        double r162716 = 16.0;
        double r162717 = r162715 * r162716;
        double r162718 = r162717 * r162715;
        return r162718;
}

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