summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/math/MPN.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-09 19:58:05 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-09 19:58:05 +0000
commit65bf3316cf384588453604be6b4f0ed3751a8b0f (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/gnu/java/math/MPN.h
parent8fc56618a84446beccd45b80381cdfe0e94050df (diff)
downloadgcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/math/MPN.h')
-rw-r--r--libjava/gnu/java/math/MPN.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/libjava/gnu/java/math/MPN.h b/libjava/gnu/java/math/MPN.h
new file mode 100644
index 00000000000..50289abae33
--- /dev/null
+++ b/libjava/gnu/java/math/MPN.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_math_MPN__
+#define __gnu_java_math_MPN__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace math
+ {
+ class MPN;
+ }
+ }
+ }
+}
+
+class gnu::java::math::MPN : public ::java::lang::Object
+{
+
+public:
+ MPN();
+ static jint add_1(JArray< jint > *, JArray< jint > *, jint, jint);
+ static jint add_n(JArray< jint > *, JArray< jint > *, JArray< jint > *, jint);
+ static jint sub_n(JArray< jint > *, JArray< jint > *, JArray< jint > *, jint);
+ static jint mul_1(JArray< jint > *, JArray< jint > *, jint, jint);
+ static void mul(JArray< jint > *, JArray< jint > *, jint, JArray< jint > *, jint);
+ static jlong udiv_qrnnd(jlong, jint);
+ static jint divmod_1(JArray< jint > *, JArray< jint > *, jint, jint);
+ static jint submul_1(JArray< jint > *, jint, JArray< jint > *, jint, jint);
+ static void divide(JArray< jint > *, jint, JArray< jint > *, jint);
+ static jint chars_per_word(jint);
+ static jint count_leading_zeros(jint);
+ static jint set_str(JArray< jint > *, JArray< jbyte > *, jint, jint);
+ static jint cmp(JArray< jint > *, JArray< jint > *, jint);
+ static jint cmp(JArray< jint > *, jint, JArray< jint > *, jint);
+ static jint rshift(JArray< jint > *, JArray< jint > *, jint, jint, jint);
+ static void rshift0(JArray< jint > *, JArray< jint > *, jint, jint, jint);
+ static jlong rshift_long(JArray< jint > *, jint, jint);
+ static jint lshift(JArray< jint > *, jint, JArray< jint > *, jint, jint);
+ static jint findLowestBit(jint);
+ static jint findLowestBit(JArray< jint > *);
+ static jint gcd(JArray< jint > *, JArray< jint > *, jint);
+ static jint intLength(jint);
+ static jint intLength(JArray< jint > *, jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_math_MPN__