Average Error: 0.0 → 0.0
Time: 1.3s
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 r122476 = x;
        double r122477 = y;
        double r122478 = r122477 * r122477;
        double r122479 = r122476 - r122478;
        return r122479;
}

double f(double x, double y) {
        double r122480 = x;
        double r122481 = y;
        double r122482 = r122481 * r122481;
        double r122483 = r122480 - r122482;
        return r122483;
}

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