Average Error: 0.0 → 0.0
Time: 6.0s
Precision: 64
\[x - y \cdot y\]
\[x - y \cdot y\]
x - y \cdot y
x - y \cdot y
double f(double x, double y) {
        double r9585579 = x;
        double r9585580 = y;
        double r9585581 = r9585580 * r9585580;
        double r9585582 = r9585579 - r9585581;
        return r9585582;
}

double f(double x, double y) {
        double r9585583 = x;
        double r9585584 = y;
        double r9585585 = r9585584 * r9585584;
        double r9585586 = r9585583 - r9585585;
        return r9585586;
}

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 \cdot y\]
  2. Final simplification0.0

    \[\leadsto x - y \cdot y\]

Reproduce

herbie shell --seed 2019168 
(FPCore (x y)
  :name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1"
  (- x (* y y)))