Average Error: 0.0 → 0.0
Time: 883.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 r6734919 = x;
        double r6734920 = y;
        double r6734921 = r6734920 * r6734920;
        double r6734922 = r6734919 - r6734921;
        return r6734922;
}

double f(double x, double y) {
        double r6734923 = x;
        double r6734924 = y;
        double r6734925 = r6734924 * r6734924;
        double r6734926 = r6734923 - r6734925;
        return r6734926;
}

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