Average Error: 0.0 → 0.0
Time: 823.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 r119143 = x;
        double r119144 = y;
        double r119145 = r119144 * r119144;
        double r119146 = r119143 - r119145;
        return r119146;
}

double f(double x, double y) {
        double r119147 = x;
        double r119148 = y;
        double r119149 = r119148 * r119148;
        double r119150 = r119147 - r119149;
        return r119150;
}

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