C# Class Org.BouncyCastle.Math.EC.Abc.SimpleBigDecimal

显示文件 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Add ( BigInteger b ) : SimpleBigDecimal
Add ( SimpleBigDecimal b ) : SimpleBigDecimal
AdjustScale ( int newScale ) : SimpleBigDecimal
CompareTo ( BigInteger val ) : int
CompareTo ( SimpleBigDecimal val ) : int
Divide ( BigInteger b ) : SimpleBigDecimal
Divide ( SimpleBigDecimal b ) : SimpleBigDecimal
Equals ( object obj ) : bool
Floor ( ) : BigInteger
GetHashCode ( ) : int
GetInstance ( BigInteger val, int scale ) : SimpleBigDecimal
Multiply ( BigInteger b ) : SimpleBigDecimal
Multiply ( SimpleBigDecimal b ) : SimpleBigDecimal
Negate ( ) : SimpleBigDecimal
Round ( ) : BigInteger
ShiftLeft ( int n ) : SimpleBigDecimal
SimpleBigDecimal ( BigInteger bigInt, int scale ) : System
Subtract ( BigInteger b ) : SimpleBigDecimal
Subtract ( SimpleBigDecimal b ) : SimpleBigDecimal
ToString ( ) : string

Private Methods

Method Description
CheckScale ( SimpleBigDecimal b ) : void
SimpleBigDecimal ( SimpleBigDecimal limBigDec ) : System

Method Details

Add() public method

public Add ( BigInteger b ) : SimpleBigDecimal
b BigInteger
return SimpleBigDecimal

Add() public method

public Add ( SimpleBigDecimal b ) : SimpleBigDecimal
b SimpleBigDecimal
return SimpleBigDecimal

AdjustScale() public method

public AdjustScale ( int newScale ) : SimpleBigDecimal
newScale int
return SimpleBigDecimal

CompareTo() public method

public CompareTo ( BigInteger val ) : int
val BigInteger
return int

CompareTo() public method

public CompareTo ( SimpleBigDecimal val ) : int
val SimpleBigDecimal
return int

Divide() public method

public Divide ( BigInteger b ) : SimpleBigDecimal
b BigInteger
return SimpleBigDecimal

Divide() public method

public Divide ( SimpleBigDecimal b ) : SimpleBigDecimal
b SimpleBigDecimal
return SimpleBigDecimal

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Floor() public method

public Floor ( ) : BigInteger
return BigInteger

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInstance() public static method

public static GetInstance ( BigInteger val, int scale ) : SimpleBigDecimal
val BigInteger
scale int
return SimpleBigDecimal

Multiply() public method

public Multiply ( BigInteger b ) : SimpleBigDecimal
b BigInteger
return SimpleBigDecimal

Multiply() public method

public Multiply ( SimpleBigDecimal b ) : SimpleBigDecimal
b SimpleBigDecimal
return SimpleBigDecimal

Negate() public method

public Negate ( ) : SimpleBigDecimal
return SimpleBigDecimal

Round() public method

public Round ( ) : BigInteger
return BigInteger

ShiftLeft() public method

public ShiftLeft ( int n ) : SimpleBigDecimal
n int
return SimpleBigDecimal

SimpleBigDecimal() public method

public SimpleBigDecimal ( BigInteger bigInt, int scale ) : System
bigInt BigInteger
scale int
return System

Subtract() public method

public Subtract ( BigInteger b ) : SimpleBigDecimal
b BigInteger
return SimpleBigDecimal

Subtract() public method

public Subtract ( SimpleBigDecimal b ) : SimpleBigDecimal
b SimpleBigDecimal
return SimpleBigDecimal

ToString() public method

public ToString ( ) : string
return string