diff options
author | cornet | 2010-04-01 11:50:42 +0000 |
---|---|---|
committer | cornet | 2010-04-01 11:50:42 +0000 |
commit | c376d31d4dba016ddec4a1a4173dc417fa8494bb (patch) | |
tree | 80a57ae2c27e6d5c2d2dcf7be65e147ad6d490bd /src/c/auxiliaryFunctions/isnan/sisnans.c | |
parent | 77ac2ce83397f6a371e3ed06eae67d7ad4f939b4 (diff) | |
download | scilab2c-c376d31d4dba016ddec4a1a4173dc417fa8494bb.tar.gz scilab2c-c376d31d4dba016ddec4a1a4173dc417fa8494bb.tar.bz2 scilab2c-c376d31d4dba016ddec4a1a4173dc417fa8494bb.zip |
warnings
Diffstat (limited to 'src/c/auxiliaryFunctions/isnan/sisnans.c')
-rw-r--r-- | src/c/auxiliaryFunctions/isnan/sisnans.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/c/auxiliaryFunctions/isnan/sisnans.c b/src/c/auxiliaryFunctions/isnan/sisnans.c index 07d56538..201fd31a 100644 --- a/src/c/auxiliaryFunctions/isnan/sisnans.c +++ b/src/c/auxiliaryFunctions/isnan/sisnans.c @@ -1,23 +1,23 @@ -/* - * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab - * Copyright (C) 2007-2008 - INRIA - Bruno JOFRET - * - * This file must be used under the terms of the CeCILL. - * This source file is licensed as described in the file COPYING, which - * you should have received as part of this distribution. The terms - * are also available at - * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - * - */ - -#ifdef _MSC_VER -#include <float.h> +/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-2008 - INRIA - Bruno JOFRET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifdef _MSC_VER
+#include <float.h>
#define isnan(x) _isnan((double)x)
-#endif - -#include "isnan.h" - -float sisnans(float in) { - return isnan(in) ? (float)1 :(float)0; -} - +#endif
+
+#include "isnan.h"
+
+float sisnans(float in) {
+ return isnan(in) ? (float)1 :(float)0;
+}
+
|