Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculate ratio between two angles #109

Closed
bergey opened this issue Sep 12, 2013 · 1 comment
Closed

calculate ratio between two angles #109

bergey opened this issue Sep 12, 2013 · 1 comment

Comments

@bergey
Copy link
Member

bergey commented Sep 12, 2013

Would anyone besides me use this function?

angleRatio :: Angle a => a -> a -> Double

Is there a better name for it?

@byorgey
Copy link
Member

byorgey commented Sep 13, 2013

What does it do? Something like angleRatio a b = getTurn (toTurn a) / getTurn (toTurn b)? I don't think I've ever wanted that particular function but have no problem with adding it.

@bergey bergey closed this as completed in e48676f Sep 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants