Average Error: 0 → 0
Time: 319.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 r168685 = x;
        double r168686 = 16.0;
        double r168687 = r168685 * r168686;
        double r168688 = r168687 * r168685;
        return r168688;
}

double f(double x) {
        double r168689 = x;
        double r168690 = 16.0;
        double r168691 = r168689 * r168690;
        double r168692 = r168691 * r168689;
        return r168692;
}

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