Average Error: 0 → 0
Time: 860.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 r10840551 = x;
        double r10840552 = 16.0;
        double r10840553 = r10840551 * r10840552;
        double r10840554 = r10840553 * r10840551;
        return r10840554;
}

double f(double x) {
        double r10840555 = x;
        double r10840556 = 16.0;
        double r10840557 = r10840555 * r10840556;
        double r10840558 = r10840555 * r10840557;
        return r10840558;
}

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