Live data from Hacker News

Discrete Arctan in 6502

dustmop.io

1–4 of 4 posts

Re: Discrete Arctan in 6502

#3
This is very clever. I remember first coming across this problem a long time ago when improvising my first "vector"-based program on the 286, which I programmed in Pascal at the time. My "solution" was to pre-calculate the values and throw them into a lookup table - which in hindsight was pretty clumsy compared to this.

Re: Discrete Arctan in 6502

#4
post #3

This is very clever. I remember first coming across this problem a long time ago when improvising my first "vector"-based program on the 286, which I programmed in Pascal at the time. My "solution" was to pre-calculate the values and throw them into a lookup table - which in hindsight was pretty clumsy compared to this.

If you have the memory, a lookup table is a perfectly reasonable solution.