C# Class IronPython.Runtime.Operations.DoubleOps

Mostrar archivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
__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

Private Methods

Method Description
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

Method Details

__coerce__() public static method

public static __coerce__ ( Microsoft.Scripting.Runtime.CodeContext context, double x, object o ) : PythonTuple
context Microsoft.Scripting.Runtime.CodeContext
x double
o object
return PythonTuple

__float__() public static method

public static __float__ ( double self ) : double
self double
return double

__format__() public static method

public static __format__ ( Microsoft.Scripting.Runtime.CodeContext context, double self, [ formatSpec ) : string
context Microsoft.Scripting.Runtime.CodeContext
self double
formatSpec [
return string

__getformat__() public static method

public static __getformat__ ( Microsoft.Scripting.Runtime.CodeContext context, string typestr ) : string
context Microsoft.Scripting.Runtime.CodeContext
typestr string
return string

__getnewargs__() public static method

public static __getnewargs__ ( Microsoft.Scripting.Runtime.CodeContext context, double self ) : object
context Microsoft.Scripting.Runtime.CodeContext
self double
return object

__hash__() public static method

public static __hash__ ( double d ) : int
d double
return int

__int__() public static method

public static __int__ ( double d ) : object
d double
return object

__long__() public static method

public static __long__ ( double self ) : BigInteger
self double
return Microsoft.Scripting.Math.BigInteger

__nonzero__() public static method

public static __nonzero__ ( Double x ) : bool
x Double
return bool

__repr__() public static method

public static __repr__ ( Microsoft.Scripting.Runtime.CodeContext context, double self ) : string
context Microsoft.Scripting.Runtime.CodeContext
self double
return string

__setformat__() public static method

public static __setformat__ ( Microsoft.Scripting.Runtime.CodeContext context, string typestr, string fmt ) : void
context Microsoft.Scripting.Runtime.CodeContext
typestr string
fmt string
return void

__str__() public static method

public static __str__ ( Microsoft.Scripting.Runtime.CodeContext context, double x ) : string
context Microsoft.Scripting.Runtime.CodeContext
x double
return string

__str__() public static method

public static __str__ ( double x, IFormatProvider provider ) : string
x double
provider IFormatProvider
return string

__str__() public static method

public static __str__ ( double x, string format ) : string
x double
format string
return string

__str__() public static method

public static __str__ ( double x, string format, IFormatProvider provider ) : string
x double
format string
provider IFormatProvider
return string

__trunc__() public static method

public static __trunc__ ( Double x ) : object
x Double
return object

as_integer_ratio() public static method

public static as_integer_ratio ( double self ) : PythonTuple
self double
return PythonTuple

conjugate() public static method

public static conjugate ( Double x ) : Double
x Double
return Double

hex() public static method

public static hex ( double self ) : string
self double
return string

is_integer() public static method

public static is_integer ( double self ) : bool
self double
return bool