C# Класс PeterO.Cbor.CBORInteger

Наследование: ICBORNumber
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Abs() публичный Метод

public Abs ( object obj ) : object
obj object
Результат object

AsDouble() публичный Метод

public AsDouble ( object obj ) : double
obj object
Результат double

AsEInteger() публичный Метод

public AsEInteger ( object obj ) : PeterO.Numbers.EInteger
obj object
Результат PeterO.Numbers.EInteger

AsExtendedDecimal() публичный Метод

public AsExtendedDecimal ( object obj ) : PeterO.Numbers.EDecimal
obj object
Результат PeterO.Numbers.EDecimal

AsExtendedFloat() публичный Метод

public AsExtendedFloat ( object obj ) : PeterO.Numbers.EFloat
obj object
Результат PeterO.Numbers.EFloat

AsExtendedRational() публичный Метод

public AsExtendedRational ( object obj ) : PeterO.Numbers.ERational
obj object
Результат PeterO.Numbers.ERational

AsInt32() публичный Метод

public AsInt32 ( object obj, int minValue, int maxValue ) : int
obj object
minValue int
maxValue int
Результат int

AsInt64() публичный Метод

public AsInt64 ( object obj ) : long
obj object
Результат long

AsSingle() публичный Метод

public AsSingle ( object obj ) : float
obj object
Результат float

CanFitInDouble() публичный Метод

public CanFitInDouble ( object obj ) : bool
obj object
Результат bool

CanFitInInt32() публичный Метод

public CanFitInInt32 ( object obj ) : bool
obj object
Результат bool

CanFitInInt64() публичный Метод

public CanFitInInt64 ( object obj ) : bool
obj object
Результат bool

CanFitInSingle() публичный Метод

public CanFitInSingle ( object obj ) : bool
obj object
Результат bool

CanTruncatedIntFitInInt32() публичный Метод

public CanTruncatedIntFitInInt32 ( object obj ) : bool
obj object
Результат bool

CanTruncatedIntFitInInt64() публичный Метод

public CanTruncatedIntFitInInt64 ( object obj ) : bool
obj object
Результат bool

IsInfinity() публичный Метод

public IsInfinity ( object obj ) : bool
obj object
Результат bool

IsIntegral() публичный Метод

public IsIntegral ( object obj ) : bool
obj object
Результат bool

IsNaN() публичный Метод

public IsNaN ( object obj ) : bool
obj object
Результат bool

IsNegative() публичный Метод

public IsNegative ( object obj ) : bool
obj object
Результат bool

IsNegativeInfinity() публичный Метод

public IsNegativeInfinity ( object obj ) : bool
obj object
Результат bool

IsPositiveInfinity() публичный Метод

public IsPositiveInfinity ( object obj ) : bool
obj object
Результат bool

IsZero() публичный Метод

public IsZero ( object obj ) : bool
obj object
Результат bool

Negate() публичный Метод

public Negate ( object obj ) : object
obj object
Результат object

Sign() публичный Метод

public Sign ( object obj ) : int
obj object
Результат int