Average Error: 0.0 → 0.0
Time: 1.9s
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 r132881 = x;
        double r132882 = y;
        double r132883 = r132882 * r132882;
        double r132884 = r132881 - r132883;
        return r132884;
}

double f(double x, double y) {
        double r132885 = x;
        double r132886 = y;
        double r132887 = r132886 * r132886;
        double r132888 = r132885 - r132887;
        return r132888;
}

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 2019304 
(FPCore (x y)
  :name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1"
  :precision binary64
  (- x (* y y)))