\left(x + y\right) \cdot \left(x - y\right)
{x}^{2} - {y}^{2}double f(double x, double y) {
double r120057 = x;
double r120058 = y;
double r120059 = r120057 + r120058;
double r120060 = r120057 - r120058;
double r120061 = r120059 * r120060;
return r120061;
}
double f(double x, double y) {
double r120062 = x;
double r120063 = 2.0;
double r120064 = pow(r120062, r120063);
double r120065 = y;
double r120066 = pow(r120065, r120063);
double r120067 = r120064 - r120066;
return r120067;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
rmApplied pow10.0
Applied pow10.0
Applied pow-prod-down0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019323
(FPCore (x y)
:name "Examples.Basics.BasicTests:f1 from sbv-4.4"
:precision binary64
(* (+ x y) (- x y)))