Average Error: 0 → 0
Time: 678.0ms
Precision: 64
\[\left(x \cdot 16.0\right) \cdot x\]
\[x \cdot \left(x \cdot 16.0\right)\]
\left(x \cdot 16.0\right) \cdot x
x \cdot \left(x \cdot 16.0\right)
double f(double x) {
        double r9479478 = x;
        double r9479479 = 16.0;
        double r9479480 = r9479478 * r9479479;
        double r9479481 = r9479480 * r9479478;
        return r9479481;
}

double f(double x) {
        double r9479482 = x;
        double r9479483 = 16.0;
        double r9479484 = r9479482 * r9479483;
        double r9479485 = r9479482 * r9479484;
        return r9479485;
}

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.0\right) \cdot x\]
  2. Final simplification0

    \[\leadsto x \cdot \left(x \cdot 16.0\right)\]

Reproduce

herbie shell --seed 2019163 +o rules:numerics
(FPCore (x)
  :name "Graphics.Rasterific.CubicBezier:isSufficientlyFlat from Rasterific-0.6.1"
  (* (* x 16.0) x))