Average Error: 0.0 → 0.0
Time: 352.0ms
Precision: 64
\[x \cdot 116 - 16\]
\[x \cdot 116 - 16\]
x \cdot 116 - 16
x \cdot 116 - 16
double f(double x) {
        double r214545 = x;
        double r214546 = 116.0;
        double r214547 = r214545 * r214546;
        double r214548 = 16.0;
        double r214549 = r214547 - r214548;
        return r214549;
}

double f(double x) {
        double r214550 = x;
        double r214551 = 116.0;
        double r214552 = r214550 * r214551;
        double r214553 = 16.0;
        double r214554 = r214552 - r214553;
        return r214554;
}

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