Average Error: 0.0 → 0.0
Time: 540.0ms
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 r156023 = x;
        double r156024 = y;
        double r156025 = r156024 * r156024;
        double r156026 = r156023 - r156025;
        return r156026;
}

double f(double x, double y) {
        double r156027 = x;
        double r156028 = y;
        double r156029 = r156028 * r156028;
        double r156030 = r156027 - r156029;
        return r156030;
}

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