Average Error: 0 → 0
Time: 303.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 r163678 = x;
        double r163679 = 16.0;
        double r163680 = r163678 * r163679;
        double r163681 = r163680 * r163678;
        return r163681;
}

double f(double x) {
        double r163682 = x;
        double r163683 = 16.0;
        double r163684 = r163682 * r163683;
        double r163685 = r163684 * r163682;
        return r163685;
}

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