Average Error: 0 → 0
Time: 322.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 r173995 = x;
        double r173996 = 16.0;
        double r173997 = r173995 * r173996;
        double r173998 = r173997 * r173995;
        return r173998;
}

double f(double x) {
        double r173999 = x;
        double r174000 = 16.0;
        double r174001 = r173999 * r174000;
        double r174002 = r174001 * r173999;
        return r174002;
}

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