C# Class IronPython.Runtime.Operations.SingleOps

Mostrar archivo Open project: jschementi/iron

Public Methods

Method Description
__float__ ( float x ) : double
__format__ ( IronPython.Runtime.CodeContext context, float self, [ formatSpec ) : string
__hash__ ( float x ) : int
__nonzero__ ( System.Single x ) : bool
__repr__ ( IronPython.Runtime.CodeContext context, float self ) : string
__str__ ( IronPython.Runtime.CodeContext context, float x ) : string
__trunc__ ( System.Single x ) : object
conjugate ( System.Single x ) : System.Single

Private Methods

Method Description
Abs ( System.Single x ) : System.Single
Add ( System.Single x, System.Single y ) : System.Single
ConvertToByte ( System.Single x ) : Byte
ConvertToDouble ( System.Single x ) : Double
ConvertToInt16 ( System.Single x ) : Int16
ConvertToInt32 ( System.Single x ) : Int32
ConvertToInt64 ( System.Single x ) : System.Int64
ConvertToSByte ( System.Single x ) : SByte
ConvertToUInt16 ( System.Single x ) : UInt16
ConvertToUInt32 ( System.Single x ) : UInt32
ConvertToUInt64 ( System.Single x ) : System.UInt64
Divide ( System.Single x, System.Single y ) : System.Single
Equals ( float x, float y ) : bool
FloorDivide ( System.Single x, System.Single y ) : System.Single
Getimag ( System.Single x ) : System.Single
Getreal ( System.Single x ) : System.Single
GreaterThan ( float x, float y ) : bool
GreaterThanOrEqual ( float x, float y ) : bool
LessThan ( float x, float y ) : bool
LessThanOrEqual ( float x, float y ) : bool
Mod ( float x, float y ) : float
Multiply ( System.Single x, System.Single y ) : System.Single
Negate ( System.Single x ) : System.Single
NotEquals ( float x, float y ) : bool
ParseFloat ( string x ) : object
Plus ( System.Single x ) : System.Single
Power ( float x, float y ) : float
Subtract ( System.Single x, System.Single y ) : System.Single
TrueDivide ( System.Single x, System.Single y ) : System.Single
__new__ ( IronPython.Runtime.CodeContext context, PythonType cls ) : object
__new__ ( IronPython.Runtime.CodeContext context, PythonType cls, IList s ) : object
__new__ ( IronPython.Runtime.CodeContext context, PythonType cls, object x ) : object

Method Details

__float__() public static method

public static __float__ ( float x ) : double
x float
return double

__format__() public static method

public static __format__ ( IronPython.Runtime.CodeContext context, float self, [ formatSpec ) : string
context IronPython.Runtime.CodeContext
self float
formatSpec [
return string

__hash__() public static method

public static __hash__ ( float x ) : int
x float
return int

__nonzero__() public static method

public static __nonzero__ ( System.Single x ) : bool
x System.Single
return bool

__repr__() public static method

public static __repr__ ( IronPython.Runtime.CodeContext context, float self ) : string
context IronPython.Runtime.CodeContext
self float
return string

__str__() public static method

public static __str__ ( IronPython.Runtime.CodeContext context, float x ) : string
context IronPython.Runtime.CodeContext
x float
return string

__trunc__() public static method

public static __trunc__ ( System.Single x ) : object
x System.Single
return object

conjugate() public static method

public static conjugate ( System.Single x ) : System.Single
x System.Single
return System.Single