Thread:Randomouscrap98/@comment-14600979-20150801023020/@comment-14600979-20150801134159

Petrified lasagna wrote: One way might be with fixed point variables. Basically it is like a floating point, but the decimal can not move to represent larger or more precise numbers. since 360 degrees is 6.283 radians(rounded), you could represent it like this, 000.0 0000 Where the first three zeros are before the decimal. So whenever you need one side, you can do a bitwise AND(or left/right shift) to get it into one of the arithmatic registers. You would have to multiply the decimal side by a scalar since it can not reach .283 though.

I hope that answered your question For once, my googling of esoteric programming techniques comes in handy :D

This is an interesting solution. I like it. I'll have to see if it's precise enough for what I'm thinking of though. Also seems like it would be slower than some other things.