\cos x \cdot \frac{\sinh y}{y}\cos x \cdot \left(\sqrt{\frac{\sinh y}{y}} \cdot \sqrt{\frac{\sinh y}{y}}\right)(FPCore (x y) :precision binary64 (* (cos x) (/ (sinh y) y)))
(FPCore (x y) :precision binary64 (* (cos x) (* (sqrt (/ (sinh y) y)) (sqrt (/ (sinh y) y)))))
double code(double x, double y) {
return cos(x) * (sinh(y) / y);
}
double code(double x, double y) {
return cos(x) * (sqrt(sinh(y) / y) * sqrt(sinh(y) / y));
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
rmApplied add-sqr-sqrt_binary64_35100.0
Final simplification0.0
herbie shell --seed 2021090
(FPCore (x y)
:name "Linear.Quaternion:$csin from linear-1.19.1.3"
:precision binary64
(* (cos x) (/ (sinh y) y)))