Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I am thinking to make a table for the calculation of cos(x)/sin(x). I know this could be a very large table if I want the precision to be high. Generally speaking, what is the phase step (x = x+step; x0=0) for making such a table to satisfy the average precision requirement? Thanks. --- Quote End --- I assumed you meant cos/sin rather than cos & sin. I should say now that cos/sin = cotan and so you can just get cotan directly instead of cos/sin. if you mean cos & sin then you can use at extreme 1/4 cos lut only then get other 3/4 and sin through logic.