Average Error: 0.0 → 0.0
Time: 282.0ms
Precision: 64
\[x \cdot 116 - 16\]
\[x \cdot 116 - 16\]
x \cdot 116 - 16
x \cdot 116 - 16
double f(double x) {
        double r247655 = x;
        double r247656 = 116.0;
        double r247657 = r247655 * r247656;
        double r247658 = 16.0;
        double r247659 = r247657 - r247658;
        return r247659;
}

double f(double x) {
        double r247660 = x;
        double r247661 = 116.0;
        double r247662 = r247660 * r247661;
        double r247663 = 16.0;
        double r247664 = r247662 - r247663;
        return r247664;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[x \cdot 116 - 16\]
  2. Final simplification0.0

    \[\leadsto x \cdot 116 - 16\]

Reproduce

herbie shell --seed 2019353 +o rules:numerics
(FPCore (x)
  :name "Data.Colour.CIE:lightness from colour-2.3.3"
  :precision binary64
  (- (* x 116) 16))