Average Error: 0 → 0
Time: 306.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 r188042 = x;
        double r188043 = 16.0;
        double r188044 = r188042 * r188043;
        double r188045 = r188044 * r188042;
        return r188045;
}

double f(double x) {
        double r188046 = x;
        double r188047 = 16.0;
        double r188048 = r188046 * r188047;
        double r188049 = r188048 * r188046;
        return r188049;
}

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