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