diff options
| author | Paul Jungeblut <s_jungeb@i08pc56.atis-stud.uni-karlsruhe.de> | 2014-11-25 11:22:09 +0100 |
|---|---|---|
| committer | Paul Jungeblut <s_jungeb@i08pc56.atis-stud.uni-karlsruhe.de> | 2014-11-25 11:22:09 +0100 |
| commit | 584bf7d1f9b476a09a011a33c0768cc7e03bc8e6 (patch) | |
| tree | 68e4a55bb5af452f75128fb05028459cfcccfa1f /java | |
| parent | e7e05dd248d2457d01398c1a140a972b37d94ac9 (diff) | |
| parent | a3bc266cd5da72f904065b3f0c4605bf9cfe98d7 (diff) | |
Merge branch 'master' of https://github.com/pjungeblut/ChaosKITs
merge
Diffstat (limited to 'java')
| -rw-r--r-- | java/BigInteger.tex | 17 |
1 files changed, 17 insertions, 0 deletions
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} |
