diff options
-rw-r--r-- | src/auxiliaryFunctions/includes/sign.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/src/auxiliaryFunctions/includes/sign.h b/src/auxiliaryFunctions/includes/sign.h index 425ace80..5b84f47b 100644 --- a/src/auxiliaryFunctions/includes/sign.h +++ b/src/auxiliaryFunctions/includes/sign.h @@ -5,7 +5,7 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Feb 8 10:12:17 2007 jofret -** Last update Thu Feb 8 10:31:00 2007 jofret +** Last update Tue Mar 20 14:58:52 2007 jofret ** ** Copyright INRIA 2007 */ @@ -15,14 +15,20 @@ #include <math.h> -/* -** \brief Float Signe function -*/ -int ssigns(float); +/** + ** \brief Float Signe function + ** Determine the sine of in (assume that 0 is positive). + ** \param in : the float we must determine sign. + ** \return -1 or +1 depending on the sign of in. + **/ +int ssigns(float in); -/* -** \brief Double Signe function -*/ -int dsigns(double); +/** + ** \brief Double Signe function + ** Determine the sine of in (assume that 0 is positive). + ** \param in : the double we must determine sign. + ** \return -1 or +1 depending on the sign of in. + **/ +int dsigns(double in); #endif /* !__SIGN_H__ */ |