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

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

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

Метод Описание
__coerce__ ( Microsoft.Scripting.Runtime.CodeContext context, double x, object o ) : PythonTuple
__float__ ( double self ) : double
__format__ ( Microsoft.Scripting.Runtime.CodeContext context, double self, [ formatSpec ) : string
__getformat__ ( Microsoft.Scripting.Runtime.CodeContext context, string typestr ) : string
__getnewargs__ ( Microsoft.Scripting.Runtime.CodeContext context, double self ) : object
__hash__ ( double d ) : int
__int__ ( double d ) : object
__long__ ( double self ) : BigInteger
__nonzero__ ( Double x ) : bool
__repr__ ( Microsoft.Scripting.Runtime.CodeContext context, double self ) : string
__setformat__ ( Microsoft.Scripting.Runtime.CodeContext context, string typestr, string fmt ) : void
__str__ ( Microsoft.Scripting.Runtime.CodeContext context, double x ) : string
__str__ ( double x, IFormatProvider provider ) : string
__str__ ( double x, string format ) : string
__str__ ( double x, string format, IFormatProvider provider ) : string
__trunc__ ( Double x ) : object
as_integer_ratio ( double self ) : PythonTuple
conjugate ( Double x ) : Double
hex ( double self ) : string
is_integer ( double self ) : bool

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

Метод Описание
Abs ( Double x ) : Double
Add ( Double x, Double y ) : Double
Compare ( BigInteger x, double y ) : int
Compare ( double x, BigInteger y ) : int
Compare ( double x, decimal y ) : int
Compare ( double x, double y ) : int
ConvertToByte ( Double x ) : Byte
ConvertToInt16 ( Double x ) : Int16
ConvertToInt32 ( Double x ) : Int32
ConvertToInt64 ( Double x ) : System.Int64
ConvertToSByte ( Double x ) : SByte
ConvertToSingle ( Double x ) : System.Single
ConvertToUInt16 ( Double x ) : UInt16
ConvertToUInt32 ( Double x ) : UInt32
ConvertToUInt64 ( Double x ) : System.UInt64
DefaultFloatFormat ( ) : string
DivMod ( double x, double y ) : object
Divide ( Double x, Double y ) : Double
DoubleToFormatString ( Microsoft.Scripting.Runtime.CodeContext context, double self, StringFormatSpec spec ) : string

Returns the digits for the format spec, no sign is included.

Equals ( Double x, int y ) : bool
Equals ( double x, BigInteger y ) : bool
Equals ( double x, decimal y ) : bool
Equals ( double x, double y ) : bool
FloorDivide ( Double x, Double y ) : Double
Getimag ( Double x ) : Double
Getreal ( Double x ) : Double
GreaterThan ( Double x, int y ) : bool
GreaterThan ( double x, BigInteger y ) : bool
GreaterThan ( double x, decimal y ) : bool
GreaterThan ( double x, double y ) : bool
GreaterThanOrEqual ( Double x, int y ) : bool
GreaterThanOrEqual ( double x, BigInteger y ) : bool
GreaterThanOrEqual ( double x, decimal y ) : bool
GreaterThanOrEqual ( double x, double y ) : bool
HexStringOverflow ( ) : Exception
IncludeExponent ( double self ) : bool
InvalidHexString ( ) : Exception
IsNegativeZero ( double value ) : bool
IsPositiveZero ( double value ) : bool
LessThan ( Double x, int y ) : bool
LessThan ( double x, BigInteger y ) : bool
LessThan ( double x, decimal y ) : bool
LessThan ( double x, double y ) : bool
LessThanOrEqual ( Double x, int y ) : bool
LessThanOrEqual ( double x, BigInteger y ) : bool
LessThanOrEqual ( double x, decimal y ) : bool
LessThanOrEqual ( double x, double y ) : bool
Mod ( double x, double y ) : double
Multiply ( Double x, Double y ) : Double
Negate ( Double x ) : Double
NotEquals ( Double x, int y ) : bool
NotEquals ( double x, BigInteger y ) : bool
NotEquals ( double x, decimal y ) : bool
NotEquals ( double x, double y ) : bool
ParseFloat ( string x ) : double
Plus ( Double x ) : Double
Power ( double x, double y ) : double
Sign ( double value ) : int
Subtract ( Double x, Double y ) : Double
TrueDivide ( Double x, Double y ) : Double
TryParseSpecialFloat ( string self ) : double?
__new__ ( Microsoft.Scripting.Runtime.CodeContext context, IronPython.Runtime.Types.PythonType cls ) : 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
fromhex ( Microsoft.Scripting.Runtime.CodeContext context, IronPython.Runtime.Types.PythonType cls, string self ) : object

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

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

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

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

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

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

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

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

public static __getformat__ ( Microsoft.Scripting.Runtime.CodeContext context, string typestr ) : string
context Microsoft.Scripting.Runtime.CodeContext
typestr string
Результат string

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

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

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

public static __hash__ ( double d ) : int
d double
Результат int

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

public static __int__ ( double d ) : object
d double
Результат object

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

public static __long__ ( double self ) : BigInteger
self double
Результат Microsoft.Scripting.Math.BigInteger

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

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

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

public static __repr__ ( Microsoft.Scripting.Runtime.CodeContext context, double self ) : string
context Microsoft.Scripting.Runtime.CodeContext
self double
Результат string

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

public static __setformat__ ( Microsoft.Scripting.Runtime.CodeContext context, string typestr, string fmt ) : void
context Microsoft.Scripting.Runtime.CodeContext
typestr string
fmt string
Результат void

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

public static __str__ ( Microsoft.Scripting.Runtime.CodeContext context, double x ) : string
context Microsoft.Scripting.Runtime.CodeContext
x double
Результат string

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

public static __str__ ( double x, IFormatProvider provider ) : string
x double
provider IFormatProvider
Результат string

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

public static __str__ ( double x, string format ) : string
x double
format string
Результат string

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

public static __str__ ( double x, string format, IFormatProvider provider ) : string
x double
format string
provider IFormatProvider
Результат string

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

public static __trunc__ ( Double x ) : object
x Double
Результат object

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

public static as_integer_ratio ( double self ) : PythonTuple
self double
Результат PythonTuple

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

public static conjugate ( Double x ) : Double
x Double
Результат Double

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

public static hex ( double self ) : string
self double
Результат string

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

public static is_integer ( double self ) : bool
self double
Результат bool