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:
@@ -1,6 +1,9 @@
|
||||
;
|
||||
; Fixed point cosine/sine functions.
|
||||
;
|
||||
; int __fastcall__ cc65_sin (unsigned x);
|
||||
; int __fastcall__ cc65_cos (unsigned x);
|
||||
;
|
||||
; Returns the cosine/sine for the given argument as angular degree.
|
||||
; Valid argument range is 0..360 for both functions. They will return
|
||||
; garbage if the argument is not in a valid range. Result is in 8.8 fixed
|
||||
|
||||
Reference in New Issue
Block a user