C# Class PeterO.Cbor.CBOREInteger

Inheritance: ICBORNumber
Mostra file Open project: peteroupc/CBOR

Public Methods

Method Description
Abs ( object obj ) : object
AsDouble ( object obj ) : double
AsEInteger ( object obj ) : PeterO.Numbers.EInteger
AsExtendedDecimal ( object obj ) : PeterO.Numbers.EDecimal
AsExtendedFloat ( object obj ) : PeterO.Numbers.EFloat
AsExtendedRational ( object obj ) : PeterO.Numbers.ERational
AsInt32 ( object obj, int minValue, int maxValue ) : int
AsInt64 ( object obj ) : long
AsSingle ( object obj ) : float
CanFitInDouble ( object obj ) : bool
CanFitInInt32 ( object obj ) : bool
CanFitInInt64 ( object obj ) : bool
CanFitInSingle ( object obj ) : bool
CanTruncatedIntFitInInt32 ( object obj ) : bool
CanTruncatedIntFitInInt64 ( object obj ) : bool
IsInfinity ( object obj ) : bool
IsIntegral ( object obj ) : bool
IsNaN ( object obj ) : bool
IsNegative ( object obj ) : bool
IsNegativeInfinity ( object obj ) : bool
IsPositiveInfinity ( object obj ) : bool
IsZero ( object obj ) : bool
Negate ( object obj ) : object
Sign ( object obj ) : int

Method Details

Abs() public method

public Abs ( object obj ) : object
obj object
return object

AsDouble() public method

public AsDouble ( object obj ) : double
obj object
return double

AsEInteger() public method

public AsEInteger ( object obj ) : PeterO.Numbers.EInteger
obj object
return PeterO.Numbers.EInteger

AsExtendedDecimal() public method

public AsExtendedDecimal ( object obj ) : PeterO.Numbers.EDecimal
obj object
return PeterO.Numbers.EDecimal

AsExtendedFloat() public method

public AsExtendedFloat ( object obj ) : PeterO.Numbers.EFloat
obj object
return PeterO.Numbers.EFloat

AsExtendedRational() public method

public AsExtendedRational ( object obj ) : PeterO.Numbers.ERational
obj object
return PeterO.Numbers.ERational

AsInt32() public method

public AsInt32 ( object obj, int minValue, int maxValue ) : int
obj object
minValue int
maxValue int
return int

AsInt64() public method

public AsInt64 ( object obj ) : long
obj object
return long

AsSingle() public method

public AsSingle ( object obj ) : float
obj object
return float

CanFitInDouble() public method

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

CanFitInInt32() public method

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

CanFitInInt64() public method

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

CanFitInSingle() public method

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

CanTruncatedIntFitInInt32() public method

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

CanTruncatedIntFitInInt64() public method

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

IsInfinity() public method

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

IsIntegral() public method

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

IsNaN() public method

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

IsNegative() public method

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

IsNegativeInfinity() public method

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

IsPositiveInfinity() public method

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

IsZero() public method

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

Negate() public method

public Negate ( object obj ) : object
obj object
return object

Sign() public method

public Sign ( object obj ) : int
obj object
return int