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
Currently our trig functions in the module library such as Number.sin, Number.cos and Number.tan have some issues. That we should correct, we should make an attempt either fully improve the implementation for a more accurate function or create fast paths for special angles that would allow for more accuracy. Another current problem is with how we map values into the a -pi and pi range. as we dont have arbitrary precision floats we lose accuracy which makes the trig functions almost useless with bigints.
Edit Note: The original issue misidentified the problem we were running into, Upon furthur investigation there seems to be some other issues, so I hijacked this issue for that.
The text was updated successfully, but these errors were encountered:
Currently our trig functions in the module library such as
Number.sin
,Number.cos
andNumber.tan
have some issues. That we should correct, we should make an attempt either fully improve the implementation for a more accurate function or create fast paths for special angles that would allow for more accuracy. Another current problem is with how we map values into the a-pi
andpi
range. as we dont have arbitrary precision floats we lose accuracy which makes the trig functions almost useless with bigints.Edit Note: The original issue misidentified the problem we were running into, Upon furthur investigation there seems to be some other issues, so I hijacked this issue for that.
The text was updated successfully, but these errors were encountered: