Method | Description | |
---|---|---|
AddSameSign ( |
Adds two numbers with the same sign.
|
|
Compare ( |
Compares two BigInteger
|
|
Double ( uint u, int l ) : bool | ||
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 | |
return |
public static Compare ( |
||
bi1 | A BigInteger | |
bi2 | A BigInteger | |
return | Sign |
public static Double ( uint u, int l ) : bool | ||
u | uint | |
l | int | |
return | bool |
public static DwordDiv ( |
||
n | ||
d | uint | |
return |
public static DwordDivMod ( |
||
n | ||
d | uint | |
return | Mono.Math.BigInteger[] |
public static DwordMod ( |
||
n | ||
d | uint | |
return | uint |
public static LeftShift ( |
||
bi | ||
n | int | |
return |
public static MinusEq ( |
||
big | ||
small | ||
return | 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 | |
return | void |
public static MultiplyByDword ( |
||
n | ||
f | uint | |
return |
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 | |
return | void |
public static PlusEq ( |
||
bi1 | ||
bi2 | ||
return | void |
public static RightShift ( |
||
bi | ||
n | int | |
return |
public static SingleByteDivideInPlace ( |
||
n | A BigInteger, upon exit this will hold n / d | |
d | uint | The divisor |
return | uint |
public static SquarePositive ( |
||
bi | ||
wkSpace | uint | |
return | void |
public static Subtract ( |
||
big | ||
small | ||
return |
public static gcd ( |
||
a | ||
b | ||
return |
public static modInverse ( |
||
bi | ||
modulus | ||
return |
public static modInverse ( |
||
bi | ||
modulus | uint | |
return | uint |
public static multiByteDivide ( |
||
bi1 | ||
bi2 | ||
return | Mono.Math.BigInteger[] |