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