Average Error: 0.0 → 0.0
Time: 1.1s
Precision: 64
\[x \cdot x + 100\]
\[x \cdot x + 100\]
x \cdot x + 100
x \cdot x + 100
double f(double x) {
        double r9178 = x;
        double r9179 = r9178 * r9178;
        double r9180 = 100.0;
        double r9181 = r9179 + r9180;
        return r9181;
}

double f(double x) {
        double r9182 = x;
        double r9183 = r9182 * r9182;
        double r9184 = 100.0;
        double r9185 = r9183 + r9184;
        return r9185;
}

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 x + 100\]
  2. Final simplification0.0

    \[\leadsto x \cdot x + 100\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "x*x+100"
  (+ (* x x) 100))