[net.general] CORDIC algorithms polarize.c and rotate.c posted to net.sources

ken (04/20/83)

Because I got more than a handful of responses in less than a day, I am
posting the source to the CORDIC algorithms polarize.c and rotate.c to
net.sources.  These fixed-point routines can be used to do
polar-to-rectangular and rectangular-to-polar coordinate conversions,
generate sines, cosines, tangents, arctan2(), inverse trig functions,
and with modifications, hyperbolic functions and their inverses,
exponential and logarithms.  They take 6-8 times as long as a
multiplication.

			    Ken Turkowski
			CADLINC, Palo Alto
		{decvax,ucbvax}!decwrl!turtlevax!ken