diff options
author | jofret | 2006-12-01 15:37:45 +0000 |
---|---|---|
committer | jofret | 2006-12-01 15:37:45 +0000 |
commit | 06da3df2ff648931ce65ed91bf516062828b2354 (patch) | |
tree | c25340cd9bc5b38130cc835751e9ccf9ac7d61ff /src/type/doubleComplex.h | |
parent | b1c30f678966e6a6edc97b6012a5e89a36a8873f (diff) | |
download | scilab2c-06da3df2ff648931ce65ed91bf516062828b2354.tar.gz scilab2c-06da3df2ff648931ce65ed91bf516062828b2354.tar.bz2 scilab2c-06da3df2ff648931ce65ed91bf516062828b2354.zip |
Quite a good DouComplex lib...
Will probably be improved later...
Diffstat (limited to 'src/type/doubleComplex.h')
-rw-r--r-- | src/type/doubleComplex.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/type/doubleComplex.h b/src/type/doubleComplex.h index 7d96b72f..c1943e0e 100644 --- a/src/type/doubleComplex.h +++ b/src/type/doubleComplex.h @@ -5,7 +5,7 @@ ** Made by Bruno JOFRET <bruno.jofret@inria.fr> ** ** Started on Thu Nov 30 16:50:08 2006 jofret -** Last update Thu Nov 30 17:53:13 2006 jofret +** Last update Fri Dec 1 15:17:05 2006 jofret ** ** Copyright INRIA 2006 */ @@ -13,6 +13,8 @@ #ifndef __DOUBLECOMPLEX_H__ #define __DOUBLECOMPLEX_H__ +#include <stdbool.h> + struct double_complex { double real; @@ -24,5 +26,7 @@ typedef struct double_complex doubleComplex; double real(doubleComplex); double imag(doubleComplex); doubleComplex DoubleComplex(double, double); +bool isreal(doubleComplex); +bool isimag(doubleComplex); #endif /* !__DOUBLECOMPLEX_H__ */ |