Hello there Brian,
It is customary to only compute the values for sin(a) for 'a' from 0 to pi/4 because EVERY other value in the table from 0 to 2pi can be easily computed from those values and it is much faster to compute just the 0 to 90 degree values using a sine algorithm and then simply repeat them for 90 to 180 and then flip the sign bit for 180 to 360 degrees. It's also normal to just store the values from 0 to 90 and then do the rest of the simple math on the fly as needed.
Say hello to Meg and Stewie for me
It is customary to only compute the values for sin(a) for 'a' from 0 to pi/4 because EVERY other value in the table from 0 to 2pi can be easily computed from those values and it is much faster to compute just the 0 to 90 degree values using a sine algorithm and then simply repeat them for 90 to 180 and then flip the sign bit for 180 to 360 degrees. It's also normal to just store the values from 0 to 90 and then do the rest of the simple math on the fly as needed.
Say hello to Meg and Stewie for me