summaryrefslogtreecommitdiffstats
path: root/libjava/java/math/BigInteger.java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-16 22:25:14 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-16 22:25:14 +0000
commit808ee365d1098b688db7fb7541f13d8524fa353e (patch)
tree8a27fd1996ffd1cf512fe67713325bf5bb586886 /libjava/java/math/BigInteger.java
parent4a31f0c4b6ea659ea4dfce47c624f7def0ef76e8 (diff)
downloadppe42-gcc-808ee365d1098b688db7fb7541f13d8524fa353e.tar.gz
ppe42-gcc-808ee365d1098b688db7fb7541f13d8524fa353e.zip
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Removed old file; added new file. * gnu/java/math/MPN.java: New file. * gnu/gcj/math/MPN.java: Removed. * java/math/BigInteger.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48080 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/math/BigInteger.java')
-rw-r--r--libjava/java/math/BigInteger.java38
1 files changed, 27 insertions, 11 deletions
diff --git a/libjava/java/math/BigInteger.java b/libjava/java/math/BigInteger.java
index f4a03f90123..7976b7858ca 100644
--- a/libjava/java/math/BigInteger.java
+++ b/libjava/java/math/BigInteger.java
@@ -1,15 +1,32 @@
-// BigInteger.java -- an arbitrary-precision integer
-
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation
-
- This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
-details. */
+/* java.math.BigInteger -- Arbitary precision integers
+ Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+As a special exception, if you link this library with other files to
+produce an executable, this library does not by itself cause the
+resulting executable to be covered by the GNU General Public License.
+This exception does not however invalidate any other reasons why the
+executable file might be covered by the GNU General Public License. */
package java.math;
-import gnu.gcj.math.*;
+
+import gnu.java.math.*;
import java.util.Random;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
@@ -24,7 +41,6 @@ import java.io.IOException;
* Written using on-line Java Platform 1.2 API Specification, as well
* as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998) and
* "Applied Cryptography, Second Edition" by Bruce Schneier (Wiley, 1996).
-
*
* Based primarily on IntNum.java BitOps.java by Per Bothner <per@bothner.com>
* (found in Kawa 1.6.62).
OpenPOWER on IntegriCloud