Average Error: 0 → 0
Time: 333.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 r142651 = x;
        double r142652 = 16.0;
        double r142653 = r142651 * r142652;
        double r142654 = r142653 * r142651;
        return r142654;
}

double f(double x) {
        double r142655 = x;
        double r142656 = 16.0;
        double r142657 = r142655 * r142656;
        double r142658 = r142657 * r142655;
        return r142658;
}

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