You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix precision of BigMath.sin(x,prec) and BigMath.cos(x,prec) for large x (#346)
For large x, sin and cos is calculated:
sin(x) = sin(x % (2*PI))
cos(x) = cos(x % (2*PI))
When x is large, PI(prec) is not precise enough to calculate `x%(2*PI)`. Extra precision is needed.
0 commit comments