[Coco] CoCo gcc project
Neil Morrison
neilsmorr at hotpop.com
Sun Nov 2 15:06:01 EST 2003
If you really want to do math, you might want to look at CORDIC
functions. They are fast, accurate, and can even do integer trig. A
search of the web should bring up many references (Google found about
11,500). HP use(d) these in their pocket calculators to great effect.
I have to admit they are weird to understand and implement, however I
did manage to do it once, long ago.
Neil
----- Original Message -----
From: "John Donaldson" <jadonaldson at charter.net>
> The fastest divide is a shift command. IIRC, one way does
multiply by
> 2 the other does divide
> by 2.
More information about the Coco
mailing list