| ▲ | a_e_k a day ago | |
From my recollection of doing fun palette stuff back in the DOS VGA days, I'm betting it was more like:
Hardware floating point was rare before the 486 DX and Pentiums. Not to mention that Integer<->FP conversion was slow. And division of any kind has always been slow. So you'd see a lot of fixed-point math approximations with power-of-two divisors so that you can shift-right. | ||