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 r147259 = x;
        double r147260 = 16.0;
        double r147261 = r147259 * r147260;
        double r147262 = r147261 * r147259;
        return r147262;
}

double f(double x) {
        double r147263 = x;
        double r147264 = 16.0;
        double r147265 = r147263 * r147264;
        double r147266 = r147265 * r147263;
        return r147266;
}

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))