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



Bits error versus x



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