Average Error: 0.0 → 0.0
Time: 511.0ms
Precision: 64
\[x \cdot 116 - 16\]
\[x \cdot 116 - 16\]
x \cdot 116 - 16
x \cdot 116 - 16
double f(double x) {
        double r181407 = x;
        double r181408 = 116.0;
        double r181409 = r181407 * r181408;
        double r181410 = 16.0;
        double r181411 = r181409 - r181410;
        return r181411;
}

double f(double x) {
        double r181412 = x;
        double r181413 = 116.0;
        double r181414 = r181412 * r181413;
        double r181415 = 16.0;
        double r181416 = r181414 - r181415;
        return r181416;
}

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 2019303 +o rules:numerics
(FPCore (x)
  :name "Data.Colour.CIE:lightness from colour-2.3.3"
  :precision binary64
  (- (* x 116) 16))