Average Error: 0.0 → 0.0
Time: 1.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 r164097 = x;
        double r164098 = y;
        double r164099 = r164098 * r164098;
        double r164100 = r164097 - r164099;
        return r164100;
}

double f(double x, double y) {
        double r164101 = x;
        double r164102 = y;
        double r164103 = r164102 * r164102;
        double r164104 = r164101 - r164103;
        return r164104;
}

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