Average Error: 0.0 → 0.0
Time: 1.7s
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 r156178 = x;
        double r156179 = y;
        double r156180 = r156179 * r156179;
        double r156181 = r156178 - r156180;
        return r156181;
}

double f(double x, double y) {
        double r156182 = x;
        double r156183 = y;
        double r156184 = r156183 * r156183;
        double r156185 = r156182 - r156184;
        return r156185;
}

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