Open div5252 opened 3 years ago
I can fix this issue. Please assign me this issue and allow me to work on it @div5252
There is no need for me to assign the issue. You can work on it and make a PR.
This could be due to calling the sin functions with same precision as that of the number itself. For eg.
auto [sin_lower, cos_lower] = sin_cos(ro.get_lhs_itr().get_interval().lower_bound.up_to(_precision, false), _precision, false);
I think calling functions with higher precision should help with this issue.
Consider the following failing test -
There is loss of precision while computing Taylor expansion and using divide and conquer approach. So it is necessary to call the intermediate terms with more precision in math functions.