News for hackers. Stuff that matters.
Re:Round a direction vector to an 8-way compass by phkahler on Monday July 25, 2022 @11:57AM (#32226243)
It may be useful to read about the CORDIC algorithms. It just feels like there is an even simpler solution lurking here:

https://en.wikipedia.org/wiki/CORDIC

There are no comments on this comment yet.