FAQ

On Sat, 2009-07-18 at 21:22 -0400, James Cloos wrote:
lwall> + enum TrigBase is export <Radians Degrees Gradians Circles>;

Is Circles of much value?

I can see Semicircles, since that would make the range (-1,1] or [-1,1).
But a range of [0,1) or (0,1] seems *much* less useful.

Or am I missing an obvious use case?
With Circles, simple int/frac always gets you a count of full rotations
and an angle always between 0 and one full rotation. Seems useful to
me.

Semicircles sounds useful as well, for the reason you state above.


-'f

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupperl6-language @
categoriesperl
postedJul 18, '09 at 4:44p
activeJul 19, '09 at 6:03p
posts3
users3
websiteperl6.org

People

Translate

site design / logo © 2021 Grokbase