aboutsummaryrefslogtreecommitdiff
path: root/Lib/math.i
diff options
context:
space:
mode:
authorDave Beazley <dave-swig@dabeaz.com>2002-11-30 22:01:28 +0000
committerDave Beazley <dave-swig@dabeaz.com>2002-11-30 22:01:28 +0000
commit12a43edc2df8853e8e0315f742e57be88f0c4269 (patch)
treee3237f5f8c0a67c9bfa9bb5d6d095a739a49e4b2 /Lib/math.i
parent5fcae5eb66d377e1c3f81da7465c44a62295a72b (diff)
downloadswig-12a43edc2df8853e8e0315f742e57be88f0c4269.tar.gz
The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/math.i')
-rw-r--r--Lib/math.i39
1 files changed, 6 insertions, 33 deletions
diff --git a/Lib/math.i b/Lib/math.i
index bdec05e12..752fa1e1a 100644
--- a/Lib/math.i
+++ b/Lib/math.i
@@ -1,21 +1,10 @@
-//
-// $Header$
-//
-// math.i
-// Dave Beazley
-// March 24, 1996
-// SWIG file for floating point operations
-//
-/* Revision history
- * $Log$
- * Revision 1.1 2000/01/11 21:15:48 beazley
- * Added files
+/*
+ * $Header$
*
- * Revision 1.1.1.1 1999/02/28 02:00:53 beazley
- * Swig1.1
- *
- * Revision 1.1 1996/05/22 17:27:01 beazley
- * Initial revision
+ * math.i
+ * Dave Beazley
+ * March 24, 1996
+ * SWIG file for floating point operations
*
*/
@@ -24,20 +13,6 @@
#include <math.h>
%}
-%section "SWIG Math Module",after,info,nosort,pre,chop_left=3,chop_bottom=0,chop_top=0,chop_right=0,skip=1
-
-%text %{
-%include math.i
-
-This module provides access to the C math library and contains most
-of the functions in <math.h>. Most scripting languages already provide
-math support, but in certain cases, this module can provide more
-direct access.
-%}
-
-%subsection "Functions"
-
-
extern double cos(double x);
/* Cosine of x */
@@ -95,8 +70,6 @@ extern double floor(double x);
extern double fmod(double x, double y);
/* Floating-point remainder of x/y, with the same sign as x. */
-%subsection "Mathematical constants",noinfo
-
#define M_E 2.7182818284590452354
#define M_LOG2E 1.4426950408889634074
#define M_LOG10E 0.43429448190325182765