Average Error: 0 → 0
Time: 308.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 r141989 = x;
        double r141990 = 16.0;
        double r141991 = r141989 * r141990;
        double r141992 = r141991 * r141989;
        return r141992;
}

double f(double x) {
        double r141993 = x;
        double r141994 = 16.0;
        double r141995 = r141993 * r141994;
        double r141996 = r141995 * r141993;
        return r141996;
}

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