Average Error: 0 → 0
Time: 754.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 r8562182 = x;
        double r8562183 = 16.0;
        double r8562184 = r8562182 * r8562183;
        double r8562185 = r8562184 * r8562182;
        return r8562185;
}

double f(double x) {
        double r8562186 = x;
        double r8562187 = 16.0;
        double r8562188 = r8562186 * r8562187;
        double r8562189 = r8562186 * r8562188;
        return r8562189;
}

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