Average Error: 0.0 → 0.0
Time: 4.4s
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 r12011484 = x;
        double r12011485 = y;
        double r12011486 = r12011485 * r12011485;
        double r12011487 = r12011484 - r12011486;
        return r12011487;
}

double f(double x, double y) {
        double r12011488 = x;
        double r12011489 = y;
        double r12011490 = r12011489 * r12011489;
        double r12011491 = r12011488 - r12011490;
        return r12011491;
}

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