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
Is there a good way to support trigonometric functions on Angle quantities? It seems like converting them to radians in floating point, calling the relevant std trig function, and returning a Ratio quantity (with Results in the right places to deal with Floating Point Weirdness and domain violations) would be useful.
If that's something that wouldn't be too hard to implement, I could try to add it.
The text was updated successfully, but these errors were encountered:
This can be done and I've been meaning to add a new issue with details but haven't had time. See #144 (comment) where this was discussed recently. If you want to submit a PR that would be great!
nathanielknight
changed the title
Support trigonometric functions on Angles?
Support trigonometric functions on Angles
Jun 19, 2019
Is there a good way to support trigonometric functions on
Angle
quantities? It seems like converting them to radians in floating point, calling the relevantstd
trig function, and returning aRatio
quantity (withResult
s in the right places to deal with Floating Point Weirdness and domain violations) would be useful.If that's something that wouldn't be too hard to implement, I could try to add it.
The text was updated successfully, but these errors were encountered: