I wasn't talking about integers... i noticed that you wre only concentrating on me sending many posts.. why not concentrating about the contents of posts?

the cosine and sine functions are not giving the basic answers...they are giving results in twos's complement!

for example, instead of giving a "1" for "cosine 0", it is giving 127!!

i need to go to the normal numbering system... anyone has a hint?