Méthode | Description | |
---|---|---|
AddSameSign ( |
Adds two numbers with the same sign.
|
|
Compare ( |
Compares two BigInteger
|
|
DwordDiv ( |
||
DwordDivMod ( |
||
DwordMod ( |
||
LeftShift ( |
||
MinusEq ( |
||
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 ( |
||
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 ( |
||
RightShift ( |
||
SingleByteDivideInPlace ( |
Performs n / d and n % d in one operation.
|
|
SquarePositive ( |
||
Subtract ( |
||
gcd ( |
||
modInverse ( |
||
modInverse ( |
||
multiByteDivide ( |
public static AddSameSign ( |
||
bi1 | A BigInteger | |
bi2 | A BigInteger | |
Résultat |
public static Compare ( |
||
bi1 | A BigInteger | |
bi2 | A BigInteger | |
Résultat | Sign |
public static DwordDiv ( |
||
n | ||
d | uint | |
Résultat |
public static DwordDivMod ( |
||
n | ||
d | uint | |
Résultat | Granados.Mono.Math.BigInteger[] |
public static DwordMod ( |
||
n | ||
d | uint | |
Résultat | uint |
public static LeftShift ( |
||
bi | ||
n | int | |
Résultat |
public static MinusEq ( |
||
big | ||
small | ||
Résultat | void |
public static Multiply ( uint x, uint xOffset, uint xLen, uint y, uint yOffset, uint yLen, uint d, uint dOffset ) : void | ||
x | uint | |
xOffset | uint | |
xLen | uint | |
y | uint | |
yOffset | uint | |
yLen | uint | |
d | uint | |
dOffset | uint | |
Résultat | void |
public static MultiplyByDword ( |
||
n | ||
f | uint | |
Résultat |
public static MultiplyMod2p32pmod ( uint x, int xOffset, int xLen, uint y, int yOffest, int yLen, uint d, int dOffset, int mod ) : void | ||
x | uint | |
xOffset | int | |
xLen | int | |
y | uint | |
yOffest | int | |
yLen | int | |
d | uint | |
dOffset | int | |
mod | int | |
Résultat | void |
public static PlusEq ( |
||
bi1 | ||
bi2 | ||
Résultat | void |
public static RightShift ( |
||
bi | ||
n | int | |
Résultat |
public static SingleByteDivideInPlace ( |
||
n | A BigInteger, upon exit this will hold n / d | |
d | uint | The divisor |
Résultat | uint |
public static SquarePositive ( |
||
bi | ||
wkSpace | uint | |
Résultat | void |
public static Subtract ( |
||
big | ||
small | ||
Résultat |
public static gcd ( |
||
a | ||
b | ||
Résultat |
public static modInverse ( |
||
bi | ||
modulus | ||
Résultat |
public static modInverse ( |
||
bi | ||
modulus | uint | |
Résultat | uint |
public static multiByteDivide ( |
||
bi1 | ||
bi2 | ||
Résultat | Granados.Mono.Math.BigInteger[] |