Average Error: 0 → 0
Time: 693.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 r121960 = x;
        double r121961 = 16.0;
        double r121962 = r121960 * r121961;
        double r121963 = r121962 * r121960;
        return r121963;
}

double f(double x) {
        double r121964 = x;
        double r121965 = 16.0;
        double r121966 = r121964 * r121965;
        double r121967 = r121966 * r121964;
        return r121967;
}

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