From a3bc266cd5da72f904065b3f0c4605bf9cfe98d7 Mon Sep 17 00:00:00 2001
From: kittobi1992 <kittobi1992@users.noreply.github.com>
Date: Tue, 25 Nov 2014 11:21:47 +0100
Subject: BigInteger documentation

---
 java/BigInteger.tex | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 java/BigInteger.tex

(limited to 'java/BigInteger.tex')

diff --git a/java/BigInteger.tex b/java/BigInteger.tex
new file mode 100644
index 0000000..586b0cb
--- /dev/null
+++ b/java/BigInteger.tex
@@ -0,0 +1,17 @@
+\subsection{BigInteger}
+
+Hier ein kleiner überblick über die Methoden der Klasse BigInteger: \\
+
+\begin{enumerate}
+\item BigInteger add(BigInteger val), multiply(BigInteger val), divide(BigInteger val), substract(BigInteger val) \\ 
+Returns this +,*,/,- val
+\item BigInteger pow(BigInteger e) \\ Returns this\(^e\)
+\item BigInteger and(BigInteger val), or(BigInteger val), xor(BigInteger val), not(), shiftLeft(int n), shiftRight(int n) \\ 
+Bit-Operations
+\item BigInteger gcd(BigInteger val) \\ Returns the greatest common divisor of abs(this) and abs(val)
+\item BigInteger mod(BigInteger m), modInverse(BigInteger m), modPow(BigInteger e, BigInteger m) \\
+Returns this mod m, this\(^{-1}\) mod m, this\(^e\) mod m
+\item BigInteger  nextProbablePrime() \\ Returns the next number that is greater than this and that is probably a prime.
+\item int intValue(), long longValue(), float floatValue(), double doubleValue() \\ 
+Converting BigInteger. Attention: If the BigInteger is to big the lowest bits were choosen which fits into the converted data-type.
+\end{enumerate}
-- 
cgit v1.2.3

