C# Класс IronPython.Runtime.Operations.Int32Ops

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__abs__ ( int self ) : int
__coerce__ ( Microsoft.Scripting.Runtime.CodeContext context, int x, object o ) : object
__divmod__ ( int x, int y ) : PythonTuple
__float__ ( int self ) : double
__format__ ( Microsoft.Scripting.Runtime.CodeContext context, int self, [ formatSpec ) : string
__getnewargs__ ( Microsoft.Scripting.Runtime.CodeContext context, int self ) : object
__hash__ ( Int32 x ) : int
__hex__ ( int x ) : string
__index__ ( int self ) : int
__int__ ( int self ) : int
__long__ ( int self ) : BigInteger
__nonzero__ ( Int32 x ) : bool
__oct__ ( int x ) : string
__rdivmod__ ( int x, int y ) : object
__repr__ ( int self ) : string
__trunc__ ( Int32 x ) : Int32
bit_length ( Int32 value ) : int
conjugate ( Int32 x ) : Int32

Приватные методы

Метод Описание
Abs ( Int32 x ) : object
Add ( Int32 x, Int32 y ) : object
BitwiseAnd ( Int32 x, Int32 y ) : Int32
BitwiseOr ( Int32 x, Int32 y ) : Int32
Compare ( Int32 x, Int32 y ) : int
ConvertToByte ( Int32 x ) : Byte
ConvertToDouble ( Int32 x ) : Double
ConvertToInt16 ( Int32 x ) : Int16
ConvertToInt64 ( Int32 x ) : System.Int64
ConvertToSByte ( Int32 x ) : SByte
ConvertToSingle ( Int32 x ) : System.Single
ConvertToUInt16 ( Int32 x ) : UInt16
ConvertToUInt32 ( Int32 x ) : UInt32
ConvertToUInt64 ( Int32 x ) : System.UInt64
Divide ( Int32 x, Int32 y ) : object
ExclusiveOr ( Int32 x, Int32 y ) : Int32
FastNew ( Microsoft.Scripting.Runtime.CodeContext context, object o ) : object
FloorDivide ( int x, int y ) : object
Getdenominator ( Int32 x ) : Int32
Getimag ( Int32 x ) : Int32
Getnumerator ( Int32 x ) : Int32
Getreal ( Int32 x ) : Int32
LeftShift ( Int32 x, [ y ) : object
LeftShift ( int x, int y ) : object
Mod ( int x, int y ) : int
Multiply ( Int32 x, Int32 y ) : object
Negate ( Int32 x ) : object
OnesComplement ( Int32 x ) : Int32
Plus ( Int32 x ) : Int32
Power ( int x, BigInteger power, BigInteger qmod ) : object
Power ( int x, double power, double qmod ) : object
Power ( int x, int power ) : object
Power ( int x, int power, int qmod ) : object
RightShift ( Int32 x, [ y ) : Int32
RightShift ( int x, int y ) : int
Subtract ( Int32 x, Int32 y ) : object
ToBinary ( int self ) : string
ToBinary ( int self, bool includeType ) : string
ToHex ( int self, bool lowercase ) : string
ToOctal ( int self, bool lowercase ) : string
TrimRadix ( string s, int radix ) : string
TrueDivide ( Int32 x, Int32 y ) : double
ValidateType ( IronPython.Runtime.Types.PythonType cls ) : void
__divmod__ ( int x, object y ) : object
__new__ ( Microsoft.Scripting.Runtime.CodeContext context, IronPython.Runtime.Types.PythonType cls ) : object
__new__ ( Microsoft.Scripting.Runtime.CodeContext context, IronPython.Runtime.Types.PythonType cls, Extensible o ) : object
__new__ ( Microsoft.Scripting.Runtime.CodeContext context, IronPython.Runtime.Types.PythonType cls, IList s ) : object
__new__ ( Microsoft.Scripting.Runtime.CodeContext context, IronPython.Runtime.Types.PythonType cls, object x ) : object
__new__ ( Microsoft.Scripting.Runtime.CodeContext context, object o ) : object
__new__ ( IronPython.Runtime.Types.PythonType cls, string s, int radix ) : object

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

__abs__() публичный статический Метод

public static __abs__ ( int self ) : int
self int
Результат int

__coerce__() публичный статический Метод

public static __coerce__ ( Microsoft.Scripting.Runtime.CodeContext context, int x, object o ) : object
context Microsoft.Scripting.Runtime.CodeContext
x int
o object
Результат object

__divmod__() публичный статический Метод

public static __divmod__ ( int x, int y ) : PythonTuple
x int
y int
Результат PythonTuple

__float__() публичный статический Метод

public static __float__ ( int self ) : double
self int
Результат double

__format__() публичный статический Метод

public static __format__ ( Microsoft.Scripting.Runtime.CodeContext context, int self, [ formatSpec ) : string
context Microsoft.Scripting.Runtime.CodeContext
self int
formatSpec [
Результат string

__getnewargs__() публичный статический Метод

public static __getnewargs__ ( Microsoft.Scripting.Runtime.CodeContext context, int self ) : object
context Microsoft.Scripting.Runtime.CodeContext
self int
Результат object

__hash__() публичный статический Метод

public static __hash__ ( Int32 x ) : int
x System.Int32
Результат int

__hex__() публичный статический Метод

public static __hex__ ( int x ) : string
x int
Результат string

__index__() публичный статический Метод

public static __index__ ( int self ) : int
self int
Результат int

__int__() публичный статический Метод

public static __int__ ( int self ) : int
self int
Результат int

__long__() публичный статический Метод

public static __long__ ( int self ) : BigInteger
self int
Результат BigInteger

__nonzero__() публичный статический Метод

public static __nonzero__ ( Int32 x ) : bool
x System.Int32
Результат bool

__oct__() публичный статический Метод

public static __oct__ ( int x ) : string
x int
Результат string

__rdivmod__() публичный статический Метод

public static __rdivmod__ ( int x, int y ) : object
x int
y int
Результат object

__repr__() публичный статический Метод

public static __repr__ ( int self ) : string
self int
Результат string

__trunc__() публичный статический Метод

public static __trunc__ ( Int32 x ) : Int32
x System.Int32
Результат System.Int32

bit_length() публичный статический Метод

public static bit_length ( Int32 value ) : int
value System.Int32
Результат int

conjugate() публичный статический Метод

public static conjugate ( Int32 x ) : Int32
x System.Int32
Результат System.Int32