Average Error: 0 → 0
Time: 312.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 r134451 = x;
        double r134452 = 16.0;
        double r134453 = r134451 * r134452;
        double r134454 = r134453 * r134451;
        return r134454;
}

double f(double x) {
        double r134455 = x;
        double r134456 = 16.0;
        double r134457 = r134455 * r134456;
        double r134458 = r134457 * r134455;
        return r134458;
}

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