diff options
author | torset | 2009-01-09 15:49:52 +0000 |
---|---|---|
committer | torset | 2009-01-09 15:49:52 +0000 |
commit | b3437dab1ab616fcbd4942ba3d0f37992fba82ef (patch) | |
tree | 7cf464443e255f9dc55292fb3a93e7063ffcf5c0 /src/auxiliaryFunctions/includes/isnan.h | |
parent | 10a522e53ef2e60ea67fd32e8db4febbccfad9e2 (diff) | |
download | scilab2c-b3437dab1ab616fcbd4942ba3d0f37992fba82ef.tar.gz scilab2c-b3437dab1ab616fcbd4942ba3d0f37992fba82ef.tar.bz2 scilab2c-b3437dab1ab616fcbd4942ba3d0f37992fba82ef.zip |
Updates isnan (tests on arrays not done)
Diffstat (limited to 'src/auxiliaryFunctions/includes/isnan.h')
-rw-r--r-- | src/auxiliaryFunctions/includes/isnan.h | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/src/auxiliaryFunctions/includes/isnan.h b/src/auxiliaryFunctions/includes/isnan.h index 91796d2b..3a73e47f 100644 --- a/src/auxiliaryFunctions/includes/isnan.h +++ b/src/auxiliaryFunctions/includes/isnan.h @@ -22,20 +22,42 @@ /* ** \brief Float Is Nan function */ -bool sisnans(float x); +float sisnans(float x); /* ** \brief Double Is Nan function */ -bool disnans(double x); +double disnans(double x); /* ** \brief Float Complex Is Nan function */ -bool cisnans(floatComplex z); +float cisnans(floatComplex z); /* ** \brief Double Complex Is Nan function */ -bool zisnans(doubleComplex z); +double zisnans(doubleComplex z); + +/* +** \brief Float Is Nan function +*/ +void sisnana(float x, int size, float* out); + +/* +** \brief Double Is Nan function +*/ +void disnana(double x, int size, double* out); + +/* +** \brief Float Complex Is Nan function +*/ +void cisnana(floatComplex z, int size, float* out); + +/* +** \brief Double Complex Is Nan function +*/ +void zisnana(doubleComplex z, int size, double* out); + + #endif /* !__IS_NAN_H__ */ |