Average Error: 0 → 0
Time: 318.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 r136300 = x;
        double r136301 = 16.0;
        double r136302 = r136300 * r136301;
        double r136303 = r136302 * r136300;
        return r136303;
}

double f(double x) {
        double r136304 = x;
        double r136305 = 16.0;
        double r136306 = r136304 * r136305;
        double r136307 = r136306 * r136304;
        return r136307;
}

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