Average Error: 0.0 → 0.0
Time: 919.0ms
Precision: 64
\[1 - x \cdot x\]
\[1 - x \cdot x\]
1 - x \cdot x
1 - x \cdot x
double f(double x) {
        double r286264 = 1.0;
        double r286265 = x;
        double r286266 = r286265 * r286265;
        double r286267 = r286264 - r286266;
        return r286267;
}

double f(double x) {
        double r286268 = 1.0;
        double r286269 = x;
        double r286270 = r286269 * r286269;
        double r286271 = r286268 - r286270;
        return r286271;
}

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

    \[1 - x \cdot x\]
  2. Final simplification0.0

    \[\leadsto 1 - x \cdot x\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "1-x*x"
  :precision binary64
  (- 1 (* x x)))