Average Error: 0 → 0
Time: 671.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 r11977505 = x;
        double r11977506 = 16.0;
        double r11977507 = r11977505 * r11977506;
        double r11977508 = r11977507 * r11977505;
        return r11977508;
}

double f(double x) {
        double r11977509 = x;
        double r11977510 = 16.0;
        double r11977511 = r11977509 * r11977510;
        double r11977512 = r11977509 * r11977511;
        return r11977512;
}

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))