Average Error: 0.0 → 0.0
Time: 3.2s
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 r8995886 = x;
        double r8995887 = y;
        double r8995888 = r8995887 * r8995887;
        double r8995889 = r8995886 - r8995888;
        return r8995889;
}

double f(double x, double y) {
        double r8995890 = x;
        double r8995891 = y;
        double r8995892 = r8995891 * r8995891;
        double r8995893 = r8995890 - r8995892;
        return r8995893;
}

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)))