3 ms·
Bit shifted sin values in a pre-made table of integers could be used so the maths was all integer based. Commonly used on processors like the 6502 or 68000 for
by OnlyMortal 4y ago
Bit shifted sin values in a pre-made table of integers could be used so the maths was all integer based.
Commonly used on processors like the 6502 or 68000 for vector graphics.
It was accurate enough for games.
- richrichardsson 4y ago> It was accurate enough for games. Unless like me you made a typo when copying the table from a book and had a vector routine that mostly looked alright but would jerk slightly when that one value that was incorrect was chosen! <facepalm />
- mianos 4y agoIt was floating point math. There was nothing in the CPU to support it so it was ridiculously slow. But, sometimes you just want to have those functions to do some complex geometry.