Average Error: 0.0 → 0.0
Time: 3.1s
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 r6849863 = x;
        double r6849864 = y;
        double r6849865 = r6849864 * r6849864;
        double r6849866 = r6849863 - r6849865;
        return r6849866;
}

double f(double x, double y) {
        double r6849867 = x;
        double r6849868 = y;
        double r6849869 = r6849868 * r6849868;
        double r6849870 = r6849867 - r6849869;
        return r6849870;
}

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