Fixed the return types of the sine/cosine functions. Added comments.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4402 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-10-30 14:02:24 +00:00
parent 4d93094936
commit 4e4beef8b7
2 changed files with 5 additions and 2 deletions

View File

@@ -44,12 +44,12 @@
extern unsigned __fastcall__ cc65_sin (unsigned x);
extern int __fastcall__ cc65_sin (unsigned x);
/* Return the sine of the argument, which must be in range 0..360. The result
* is in 8.8 fixed point format, which means that 1.0 = $100 and -1.0 = $FF00.
*/
extern unsigned __fastcall__ cc65_cos (unsigned x);
extern int __fastcall__ cc65_cos (unsigned x);
/* Return the cosine of the argument, which must be in range 0..360. The result
* is in 8.8 fixed point format, which means that 1.0 = $100 and -1.0 = $FF00.
*/