Average Error: 0 → 0
Time: 571.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 r130667 = x;
        double r130668 = 16.0;
        double r130669 = r130667 * r130668;
        double r130670 = r130669 * r130667;
        return r130670;
}

double f(double x) {
        double r130671 = x;
        double r130672 = 16.0;
        double r130673 = r130671 * r130672;
        double r130674 = r130673 * r130671;
        return r130674;
}

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