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/auxiliaryFunctions/isnan | |
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/auxiliaryFunctions/isnan')
-rw-r--r-- | 2.3-1/src/c/auxiliaryFunctions/isnan/cisnans.c | 11 | ||||
-rw-r--r-- | 2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c | 8 | ||||
-rw-r--r-- | 2.3-1/src/c/auxiliaryFunctions/isnan/sisnans.c | 8 | ||||
-rw-r--r-- | 2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c | 7 |
4 files changed, 15 insertions, 19 deletions
diff --git a/2.3-1/src/c/auxiliaryFunctions/isnan/cisnans.c b/2.3-1/src/c/auxiliaryFunctions/isnan/cisnans.c index 7fc0759f..623cea0b 100644 --- a/2.3-1/src/c/auxiliaryFunctions/isnan/cisnans.c +++ b/2.3-1/src/c/auxiliaryFunctions/isnan/cisnans.c @@ -10,14 +10,11 @@ * */ +#ifdef _WIN32 +#include <math.h> +#endif - -#ifdef _MSC_VER -#include <float.h> -#define isnan(x) _isnan((double)x)
-#endif
-
-#include "isnan.h"
+#include "isnan.h" float cisnans(floatComplex in) { diff --git a/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c b/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c index 0d0a5699..99b5b664 100644 --- a/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c +++ b/2.3-1/src/c/auxiliaryFunctions/isnan/disnans.c @@ -10,10 +10,10 @@ * */ -#ifdef _MSC_VER -#include <float.h> -#define isnan(x) _isnan((double)x)
-#endif + +#ifdef _WIN32 +#include <math.h> +#endif #include "isnan.h" diff --git a/2.3-1/src/c/auxiliaryFunctions/isnan/sisnans.c b/2.3-1/src/c/auxiliaryFunctions/isnan/sisnans.c index 201fd31a..905890b8 100644 --- a/2.3-1/src/c/auxiliaryFunctions/isnan/sisnans.c +++ b/2.3-1/src/c/auxiliaryFunctions/isnan/sisnans.c @@ -10,10 +10,10 @@ *
*/
-#ifdef _MSC_VER
-#include <float.h>
-#define isnan(x) _isnan((double)x)
-#endif
+
+#ifdef _WIN32
+#include <math.h>
+#endif
#include "isnan.h"
diff --git a/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c b/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c index b7ebc1bb..95cfd972 100644 --- a/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c +++ b/2.3-1/src/c/auxiliaryFunctions/isnan/zisnans.c @@ -10,10 +10,9 @@ * */ -#ifdef _MSC_VER -#include <float.h> -#define isnan(x) _isnan((double)x)
-#endif +#ifdef _WIN32 +#include <math.h> +#endif #include "isnan.h" |