summaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorjofret2008-04-21 14:51:19 +0000
committerjofret2008-04-21 14:51:19 +0000
commit9bee1f2a458843199b0541eaf28a7f4d5bbbfa34 (patch)
tree778cd7256dd558ae7dee467b3c707c5722188474 /src/includes
parentd9f4f0670e2c9ad1bb1ba34c1b951663f042bea4 (diff)
downloadscilab2c-9bee1f2a458843199b0541eaf28a7f4d5bbbfa34.tar.gz
scilab2c-9bee1f2a458843199b0541eaf28a7f4d5bbbfa34.tar.bz2
scilab2c-9bee1f2a458843199b0541eaf28a7f4d5bbbfa34.zip
Separate Float and Double constants
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/constant.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/includes/constant.h b/src/includes/constant.h
index f88d84f1..bf18bf97 100644
--- a/src/includes/constant.h
+++ b/src/includes/constant.h
@@ -1,19 +1,20 @@
/*
-** -*- 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
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
#ifndef __CONSTANT_H__
#define __CONSTANT_H__
-#define PI 3.1415826535
+#define FPI 3.1415826535f
+#define DPI 3.1415826535
#endif /* !__CONSTANT_H__ */