x \cdot \frac{\sin y}{y}\frac{\sin y}{y} \cdot xdouble f(double x, double y) {
double r110286 = x;
double r110287 = y;
double r110288 = sin(r110287);
double r110289 = r110288 / r110287;
double r110290 = r110286 * r110289;
return r110290;
}
double f(double x, double y) {
double r110291 = y;
double r110292 = sin(r110291);
double r110293 = r110292 / r110291;
double r110294 = x;
double r110295 = r110293 * r110294;
return r110295;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.1
Taylor expanded around inf 7.0
Simplified0.2
rmApplied div-inv0.2
Simplified0.1
Final simplification0.1
herbie shell --seed 2019179 +o rules:numerics
(FPCore (x y)
:name "Linear.Quaternion:$cexp from linear-1.19.1.3"
(* x (/ (sin y) y)))