Average Error: 0.0 → 0.0
Time: 813.0ms
Precision: 64
\[x \cdot 116 - 16\]
\[x \cdot 116 - 16\]
x \cdot 116 - 16
x \cdot 116 - 16
double f(double x) {
        double r137730 = x;
        double r137731 = 116.0;
        double r137732 = r137730 * r137731;
        double r137733 = 16.0;
        double r137734 = r137732 - r137733;
        return r137734;
}

double f(double x) {
        double r137735 = x;
        double r137736 = 116.0;
        double r137737 = r137735 * r137736;
        double r137738 = 16.0;
        double r137739 = r137737 - r137738;
        return r137739;
}

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