MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/huc7vm/implementing_cosine_in_c_from_scratch/fyn1oc8
r/programming • u/azhenley • Jul 20 '20
104 comments sorted by
View all comments
Show parent comments
17
Indeed, all Digital Signal Processing libraries that I have seen only stores 1/4 of the sin period in a table for all their sin and cos needs
-3 u/zoinks Jul 20 '20 If you only store a quarter do the 7 deadly sins round down to 1 or up to 2?
-3
If you only store a quarter do the 7 deadly sins round down to 1 or up to 2?
17
u/Simon_Luner Jul 20 '20
Indeed, all Digital Signal Processing libraries that I have seen only stores 1/4 of the sin period in a table for all their sin and cos needs