Average Error: 0.0 → 0.0
Time: 964.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 r744609 = x;
        double r744610 = y;
        double r744611 = r744610 * r744610;
        double r744612 = r744609 - r744611;
        return r744612;
}

double f(double x, double y) {
        double r744613 = x;
        double r744614 = y;
        double r744615 = r744614 * r744614;
        double r744616 = r744613 - r744615;
        return r744616;
}

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