Average Error: 0.0 → 0.0
Time: 263.0ms
Precision: 64
\[x \cdot 116 - 16\]
\[x \cdot 116 - 16\]
x \cdot 116 - 16
x \cdot 116 - 16
double f(double x) {
        double r240297 = x;
        double r240298 = 116.0;
        double r240299 = r240297 * r240298;
        double r240300 = 16.0;
        double r240301 = r240299 - r240300;
        return r240301;
}

double f(double x) {
        double r240302 = x;
        double r240303 = 116.0;
        double r240304 = r240302 * r240303;
        double r240305 = 16.0;
        double r240306 = r240304 - r240305;
        return r240306;
}

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