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