Method |
Description |
|
AddSameSign ( BigInteger bi1, BigInteger bi2 ) : BigInteger |
Adds two numbers with the same sign. |
|
Compare ( BigInteger bi1, BigInteger bi2 ) : Sign |
Compares two BigInteger |
|
DwordDiv ( BigInteger n, uint d ) : BigInteger |
|
|
DwordDivMod ( BigInteger n, uint d ) : OctoTorrent.Dht.BigInteger[] |
|
|
DwordMod ( BigInteger n, uint d ) : uint |
|
|
LeftShift ( BigInteger bi, int n ) : BigInteger |
|
|
MinusEq ( BigInteger big, BigInteger small ) : void |
|
|
MultiByteDivide ( BigInteger bi1, BigInteger bi2 ) : OctoTorrent.Dht.BigInteger[] |
|
|
Multiply ( uint x, uint xOffset, uint xLen, uint y, uint yOffset, uint yLen, uint d, uint dOffset ) : void |
Multiplies the data in x [xOffset:xOffset+xLen] by y [yOffset:yOffset+yLen] and puts it into d [dOffset:dOffset+xLen+yLen]. This code is unsafe! It is the caller's responsibility to make sure that it is safe to access x [xOffset:xOffset+xLen], y [yOffset:yOffset+yLen], and d [dOffset:dOffset+xLen+yLen]. |
|
MultiplyByDword ( BigInteger n, uint f ) : BigInteger |
|
|
MultiplyMod2p32pmod ( uint x, int xOffset, int xLen, uint y, int yOffest, int yLen, uint d, int dOffset, int mod ) : void |
Multiplies the data in x [xOffset:xOffset+xLen] by y [yOffset:yOffset+yLen] and puts the low mod words into d [dOffset:dOffset+mod]. This code is unsafe! It is the caller's responsibility to make sure that it is safe to access x [xOffset:xOffset+xLen], y [yOffset:yOffset+yLen], and d [dOffset:dOffset+mod]. |
|
PlusEq ( BigInteger bi1, BigInteger bi2 ) : void |
|
|
RightShift ( BigInteger bi, int n ) : BigInteger |
|
|
SingleByteDivideInPlace ( BigInteger n, uint d ) : uint |
Performs n / d and n % d in one operation. |
|
Subtract ( BigInteger big, BigInteger small ) : BigInteger |
|
|
gcd ( BigInteger a, BigInteger b ) : BigInteger |
|
|
modInverse ( BigInteger bi, BigInteger modulus ) : BigInteger |
|
|