Average Error: 0.0 → 0.0
Time: 849.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 r7638897 = x;
        double r7638898 = y;
        double r7638899 = r7638898 * r7638898;
        double r7638900 = r7638897 - r7638899;
        return r7638900;
}

double f(double x, double y) {
        double r7638901 = x;
        double r7638902 = y;
        double r7638903 = r7638902 * r7638902;
        double r7638904 = r7638901 - r7638903;
        return r7638904;
}

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