Average Error: 0.0 → 0.0
Time: 5.3s
Precision: 64
\[x - {y}^{2}\]
\[x - {y}^{2}\]
x - {y}^{2}
x - {y}^{2}
double f(double x, double y) {
        double r136076 = x;
        double r136077 = y;
        double r136078 = 2.0;
        double r136079 = pow(r136077, r136078);
        double r136080 = r136076 - r136079;
        return r136080;
}

double f(double x, double y) {
        double r136081 = x;
        double r136082 = y;
        double r136083 = 2.0;
        double r136084 = pow(r136082, r136083);
        double r136085 = r136081 - r136084;
        return r136085;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[x - {y}^{2}\]
  2. Final simplification0.0

    \[\leadsto x - {y}^{2}\]

Reproduce

herbie shell --seed 1 
(FPCore (x y)
  :name "x - pow(y, 2)"
  :precision binary64
  (- x (pow y 2)))