Average Error: 0 → 0
Time: 359.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 r194340 = x;
        double r194341 = 16.0;
        double r194342 = r194340 * r194341;
        double r194343 = r194342 * r194340;
        return r194343;
}

double f(double x) {
        double r194344 = x;
        double r194345 = 16.0;
        double r194346 = r194344 * r194345;
        double r194347 = r194346 * r194344;
        return r194347;
}

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