diff options
author | jofret | 2007-02-08 12:36:46 +0000 |
---|---|---|
committer | jofret | 2007-02-08 12:36:46 +0000 |
commit | d35e734016e6b765708498ea10f386063537f8e3 (patch) | |
tree | ca435856c1c70f2e2805dcfd1324f6e383582fbf /src/auxiliaryFunctions/sign/sign.h | |
parent | b9d6a3e4dbca5e66931c803174ec8541e6676bc6 (diff) | |
download | scilab2c-d35e734016e6b765708498ea10f386063537f8e3.tar.gz scilab2c-d35e734016e6b765708498ea10f386063537f8e3.tar.bz2 scilab2c-d35e734016e6b765708498ea10f386063537f8e3.zip |
* src/auxiliaryFunctions/sign :
Signe of a float or double.
* src/auxiliaryFunctions/sign/sign.h :
Interface
* src/auxiliaryFunctions/sign/{sd}signs.c :
Implementation : s(float) d(double)
Sign module and lib
Diffstat (limited to 'src/auxiliaryFunctions/sign/sign.h')
-rw-r--r-- | src/auxiliaryFunctions/sign/sign.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/sign/sign.h b/src/auxiliaryFunctions/sign/sign.h new file mode 100644 index 00000000..425ace80 --- /dev/null +++ b/src/auxiliaryFunctions/sign/sign.h @@ -0,0 +1,28 @@ +/* +** -*- C -*- +** +** sign.h +** 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 +** +** Copyright INRIA 2007 +*/ + +#ifndef __SIGN_H__ +#define __SIGN_H__ + +#include <math.h> + +/* +** \brief Float Signe function +*/ +int ssigns(float); + +/* +** \brief Double Signe function +*/ +int dsigns(double); + +#endif /* !__SIGN_H__ */ |