summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/cos/i16coss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/cos/i16coss.c')
-rw-r--r--src/c/elementaryFunctions/cos/i16coss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/elementaryFunctions/cos/i16coss.c b/src/c/elementaryFunctions/cos/i16coss.c
index ce345d7..787f713 100644
--- a/src/c/elementaryFunctions/cos/i16coss.c
+++ b/src/c/elementaryFunctions/cos/i16coss.c
@@ -14,5 +14,5 @@
#include "cos.h"
float i16coss(int16 x) {
- return (cos(x));
+ return (cos((double)x));
}