Average Error: 0 → 0
Time: 768.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 r7529496 = x;
        double r7529497 = 16.0;
        double r7529498 = r7529496 * r7529497;
        double r7529499 = r7529498 * r7529496;
        return r7529499;
}

double f(double x) {
        double r7529500 = x;
        double r7529501 = 16.0;
        double r7529502 = r7529500 * r7529501;
        double r7529503 = r7529500 * r7529502;
        return r7529503;
}

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