diff options
author | jofret | 2009-04-28 07:11:01 +0000 |
---|---|---|
committer | jofret | 2009-04-28 07:11:01 +0000 |
commit | b22f596ce449869bffd8e0f63baee1c53e20fa06 (patch) | |
tree | 24e5c3ca47f535b5340a969edf31b774b356848b /macros/CFiles/sci2cincludes/constant.h | |
parent | f96b66fe2423831bcad2f141469de6805364d019 (diff) | |
download | scilab2c-b22f596ce449869bffd8e0f63baee1c53e20fa06.tar.gz scilab2c-b22f596ce449869bffd8e0f63baee1c53e20fa06.tar.bz2 scilab2c-b22f596ce449869bffd8e0f63baee1c53e20fa06.zip |
Moving macros here
Diffstat (limited to 'macros/CFiles/sci2cincludes/constant.h')
-rw-r--r-- | macros/CFiles/sci2cincludes/constant.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/macros/CFiles/sci2cincludes/constant.h b/macros/CFiles/sci2cincludes/constant.h new file mode 100644 index 00000000..9eb49544 --- /dev/null +++ b/macros/CFiles/sci2cincludes/constant.h @@ -0,0 +1,27 @@ +/* +** -*- C -*- +** +** constant.h +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Fri Mar 30 12:03:14 2007 jofret +** Last update Mon Oct 22 17:23:08 2007 bruno +** +** Copyright INRIA 2007 +*/ + +#ifndef __CONSTANT_H__ +#define __CONSTANT_H__ + +#include <math.h> +#define PI 3.1415826535 +#define SCI2C_PI 3.1415826535 +#define SCI2C_T 1
+#define SCI2C_F 0
+#define SCI2C_NAN nan("")
+#define SCI2C_INF 1e100000 +#define SCI2C_IMG_C FloatComplex(0,1) +#define SCI2C_IMG_Z DoubleComplex(0,1)
+ +#endif /* !__CONSTANT_H__ */ + |