Average Error: 0 → 0
Time: 797.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 r8996122 = x;
        double r8996123 = 16.0;
        double r8996124 = r8996122 * r8996123;
        double r8996125 = r8996124 * r8996122;
        return r8996125;
}

double f(double x) {
        double r8996126 = x;
        double r8996127 = 16.0;
        double r8996128 = r8996126 * r8996127;
        double r8996129 = r8996126 * r8996128;
        return r8996129;
}

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