[comp.sys.apple2] Arctangent algorithm &/or code

reeder@reed.UUCP (Doug Reeder) (04/27/91)

    Do any of you have an algorithm or code (preferably assembler) for the
arctangent function?  The inputs are two signed two-byte integers and the
output is a one-byte angle in pseudodegrees (256 pseudodegrees = 1 rotation).

    Do any of you know if Apple's "DOS Tool Kit" subtitled "Programming
Utilities" was (and is) freeware?  This is a disk from apple with a high res
character generator, the "maxwell" demo, and a number of other things.  I
recently unearthed a copy.

-- 
Doug Reeder                                   USENET: ...!tektronix!reed!reeder
Internet: reeder@reed.EDU                     BITNET: reeder@reed.BITNET
I'm looking for a grad school or a job as a research assistant where I can work
on tethers for space propulsion or robotics, in particular, walking machines.

rhyde@ucrmath.ucr.edu (randy hyde) (05/02/91)

Dr. Dobbs Journal, a few months back, had some information and
references on integer based transcendentals using the cordic
algorithms.  Forget the issue number, but it was the issue with the
guy hammering away on the DOS (640K) wall.  Looked pretty interesting.
I filed it away since I'll need to do some transcendentals soon enough.
If your input values are always bytes, why not use a table lookup?
*** Randy Hyde