summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/cos
diff options
context:
space:
mode:
authorSiddhesh Wani2017-05-04 16:15:18 +0530
committerSiddhesh Wani2017-05-04 16:15:18 +0530
commitde82d12658979cd70439f977742f80fac9f6521f (patch)
treeeff661402e749b2402f5576271aefddd42be23fe /2.3-1/src/c/elementaryFunctions/cos
parent472b2e7ebbd2d8b3ecd00b228128aa8a0bd3f920 (diff)
downloadScilab2C-de82d12658979cd70439f977742f80fac9f6521f.tar.gz
Scilab2C-de82d12658979cd70439f977742f80fac9f6521f.tar.bz2
Scilab2C-de82d12658979cd70439f977742f80fac9f6521f.zip
Basic functions and image processing working with MSVC on windows x64
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/cos')
-rw-r--r--2.3-1/src/c/elementaryFunctions/cos/i16coss.c2
-rw-r--r--2.3-1/src/c/elementaryFunctions/cos/i8coss.c2
-rw-r--r--2.3-1/src/c/elementaryFunctions/cos/u16coss.c2
-rw-r--r--2.3-1/src/c/elementaryFunctions/cos/u8coss.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/cos/i16coss.c b/2.3-1/src/c/elementaryFunctions/cos/i16coss.c
index ce345d72..787f713b 100644
--- a/2.3-1/src/c/elementaryFunctions/cos/i16coss.c
+++ b/2.3-1/src/c/elementaryFunctions/cos/i16coss.c
@@ -14,5 +14,5 @@
#include "cos.h"
float i16coss(int16 x) {
- return (cos(x));
+ return (cos((double)x));
}
diff --git a/2.3-1/src/c/elementaryFunctions/cos/i8coss.c b/2.3-1/src/c/elementaryFunctions/cos/i8coss.c
index 02d8216f..4b344e1d 100644
--- a/2.3-1/src/c/elementaryFunctions/cos/i8coss.c
+++ b/2.3-1/src/c/elementaryFunctions/cos/i8coss.c
@@ -14,5 +14,5 @@
#include "cos.h"
float i8coss(int8 x) {
- return (cos(x));
+ return (cos((double)x));
}
diff --git a/2.3-1/src/c/elementaryFunctions/cos/u16coss.c b/2.3-1/src/c/elementaryFunctions/cos/u16coss.c
index c4c86165..fb25ac56 100644
--- a/2.3-1/src/c/elementaryFunctions/cos/u16coss.c
+++ b/2.3-1/src/c/elementaryFunctions/cos/u16coss.c
@@ -14,5 +14,5 @@
#include "cos.h"
float u16coss(uint16 x) {
- return (cos(x));
+ return (cos((double)x));
}
diff --git a/2.3-1/src/c/elementaryFunctions/cos/u8coss.c b/2.3-1/src/c/elementaryFunctions/cos/u8coss.c
index 30400c12..26e2eba5 100644
--- a/2.3-1/src/c/elementaryFunctions/cos/u8coss.c
+++ b/2.3-1/src/c/elementaryFunctions/cos/u8coss.c
@@ -14,5 +14,5 @@
#include "cos.h"
float u8coss(uint8 x) {
- return (cos(x));
+ return (cos((double)x));
}