diff options
author | Siddhesh Wani | 2017-05-04 16:15:18 +0530 |
---|---|---|
committer | Siddhesh Wani | 2017-05-04 16:15:18 +0530 |
commit | e36eac94dd517bb69d3e5782516ee58942451991 (patch) | |
tree | 54347eba02cd5287ac5884ab84a5ca0c99f33edb /src/c/elementaryFunctions/cos | |
parent | c7e9597db39140c1d982f796a8e1f03bb54e7905 (diff) | |
download | Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.gz Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.bz2 Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.zip |
Basic functions and image processing working with MSVC on windows x64
Diffstat (limited to 'src/c/elementaryFunctions/cos')
-rw-r--r-- | src/c/elementaryFunctions/cos/i16coss.c | 2 | ||||
-rw-r--r-- | src/c/elementaryFunctions/cos/i8coss.c | 2 | ||||
-rw-r--r-- | src/c/elementaryFunctions/cos/u16coss.c | 2 | ||||
-rw-r--r-- | src/c/elementaryFunctions/cos/u8coss.c | 2 |
4 files changed, 4 insertions, 4 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)); } diff --git a/src/c/elementaryFunctions/cos/i8coss.c b/src/c/elementaryFunctions/cos/i8coss.c index 02d8216..4b344e1 100644 --- a/src/c/elementaryFunctions/cos/i8coss.c +++ b/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/src/c/elementaryFunctions/cos/u16coss.c b/src/c/elementaryFunctions/cos/u16coss.c index c4c8616..fb25ac5 100644 --- a/src/c/elementaryFunctions/cos/u16coss.c +++ b/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/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)); } |