[A83] Re: arctan


[Prev][Next][Index][Thread]

[A83] Re: arctan




> For my turn, I have a really annoying question to all of 
> you: fast arctan, or rather arctan2 for two 8-bit 
> coordinates with a 8-bit output as well. The algorithm 
> doesn't need to have a deadly precision, and error of 
> around +/- 5 degrees is acceptable. A maximum running 
time 
> of about 1500 cycles should be possible.
> 
Here's some kind of solution I was thinking about, but I'd 
like to know if anyone has a better (faster/more accurate) 
idea.

http://cobb.host.sk/misc/atan2.asm

PG





References: