Average Error: 0.0 → 0.0
Time: 977.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 r9508199 = x;
        double r9508200 = y;
        double r9508201 = r9508200 * r9508200;
        double r9508202 = r9508199 - r9508201;
        return r9508202;
}

double f(double x, double y) {
        double r9508203 = x;
        double r9508204 = y;
        double r9508205 = r9508204 * r9508204;
        double r9508206 = r9508203 - r9508205;
        return r9508206;
}

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