Average Error: 0.0 → 0.0
Time: 1.0s
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 r113809 = x;
        double r113810 = y;
        double r113811 = r113810 * r113810;
        double r113812 = r113809 - r113811;
        return r113812;
}

double f(double x, double y) {
        double r113813 = x;
        double r113814 = y;
        double r113815 = r113814 * r113814;
        double r113816 = r113813 - r113815;
        return r113816;
}

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