diff options
author | siddhu8990 | 2017-05-22 15:13:54 +0530 |
---|---|---|
committer | siddhu8990 | 2017-05-22 15:13:54 +0530 |
commit | 02a004ea1500c403ac1a18a52aaf79aaeb7280ed (patch) | |
tree | 5e55f872e363922a21ad91165628e68e16fea8a3 /2.3-1/src/c/elementaryFunctions/sin | |
parent | 5f17dffbfa6d84aee23f7946cfa95e9e5c9995b7 (diff) | |
parent | de82d12658979cd70439f977742f80fac9f6521f (diff) | |
download | Scilab2C-02a004ea1500c403ac1a18a52aaf79aaeb7280ed.tar.gz Scilab2C-02a004ea1500c403ac1a18a52aaf79aaeb7280ed.tar.bz2 Scilab2C-02a004ea1500c403ac1a18a52aaf79aaeb7280ed.zip |
Bugs fixed for Scilab 6.0
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/sin')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/sin/i16sins.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/sin/i8sins.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/sin/u16sins.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/sin/u8sins.c | 2 |
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)); } |