summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/sin
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/sin')
-rw-r--r--2.3-1/src/c/elementaryFunctions/sin/i16sins.c2
-rw-r--r--2.3-1/src/c/elementaryFunctions/sin/i8sins.c2
-rw-r--r--2.3-1/src/c/elementaryFunctions/sin/u16sins.c2
-rw-r--r--2.3-1/src/c/elementaryFunctions/sin/u8sins.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/sin/i16sins.c b/2.3-1/src/c/elementaryFunctions/sin/i16sins.c
index 3a8dc4da..6fcbd26f 100644
--- a/2.3-1/src/c/elementaryFunctions/sin/i16sins.c
+++ b/2.3-1/src/c/elementaryFunctions/sin/i16sins.c
@@ -14,5 +14,5 @@
#include "sin.h"
float i16sins(int16 x) {
- return (sin(x));
+ return (sin((double)x));
}
diff --git a/2.3-1/src/c/elementaryFunctions/sin/i8sins.c b/2.3-1/src/c/elementaryFunctions/sin/i8sins.c
index 4e6deabd..23823566 100644
--- a/2.3-1/src/c/elementaryFunctions/sin/i8sins.c
+++ b/2.3-1/src/c/elementaryFunctions/sin/i8sins.c
@@ -14,5 +14,5 @@
#include "sin.h"
float i8sins(int8 x) {
- return (sin(x));
+ return (sin((double)x));
}
diff --git a/2.3-1/src/c/elementaryFunctions/sin/u16sins.c b/2.3-1/src/c/elementaryFunctions/sin/u16sins.c
index 9610248d..651b8e1a 100644
--- a/2.3-1/src/c/elementaryFunctions/sin/u16sins.c
+++ b/2.3-1/src/c/elementaryFunctions/sin/u16sins.c
@@ -14,5 +14,5 @@
#include "sin.h"
float u16sins(uint16 x) {
- return (sin(x));
+ return (sin((double)x));
}
diff --git a/2.3-1/src/c/elementaryFunctions/sin/u8sins.c b/2.3-1/src/c/elementaryFunctions/sin/u8sins.c
index 50e8bfe9..f7c982f2 100644
--- a/2.3-1/src/c/elementaryFunctions/sin/u8sins.c
+++ b/2.3-1/src/c/elementaryFunctions/sin/u8sins.c
@@ -14,5 +14,5 @@
#include "sin.h"
float u8sins(uint8 x) {
- return (sin(x));
+ return (sin((double)x));
}