Average Error: 0.0 → 0.0
Time: 12.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 r808559 = x;
        double r808560 = y;
        double r808561 = r808560 * r808560;
        double r808562 = r808559 - r808561;
        return r808562;
}

double f(double x, double y) {
        double r808563 = x;
        double r808564 = y;
        double r808565 = r808564 * r808564;
        double r808566 = r808563 - r808565;
        return r808566;
}

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