C# Class CSPspEmu.Core.Cpu.VFpu.VfpuConstants

Show file Open project: soywiz/cspspemu Class Usage Examples

Public Properties

Property Type Description
Constants Info[]

Public Methods

Method Description
GetConstantIndexByName ( string Name ) : int
GetConstantValueByIndex ( int Index ) : Info
GetConstantValueByName ( string Name ) : Info
GetRegisterIndexByName ( VfpuRegisterType Type, int Size, string Name ) : uint
GetRegisterNameByIndex ( VfpuRegisterType Type, int Size, uint Register ) : string

Private Methods

Method Description
GetRegisterNames ( VfpuRegisterType Type, int Size ) : string[]

Method Details

GetConstantIndexByName() public static method

public static GetConstantIndexByName ( string Name ) : int
Name string
return int

GetConstantValueByIndex() public static method

public static GetConstantValueByIndex ( int Index ) : Info
Index int
return Info

GetConstantValueByName() public static method

public static GetConstantValueByName ( string Name ) : Info
Name string
return Info

GetRegisterIndexByName() public static method

public static GetRegisterIndexByName ( VfpuRegisterType Type, int Size, string Name ) : uint
Type VfpuRegisterType
Size int
Name string
return uint

GetRegisterNameByIndex() public static method

public static GetRegisterNameByIndex ( VfpuRegisterType Type, int Size, uint Register ) : string
Type VfpuRegisterType
Size int
Register uint
return string

Property Details

Constants public static property

vcst.[s | p | t | q] vd, VFPU_CST vd = vfpu_constant[VFPU_CST], where VFPU_CST is one of: VFPU_HUGE infinity VFPU_SQRT2 sqrt(2) VFPU_SQRT1_2 sqrt(1/2) VFPU_2_SQRTPI 2/sqrt(pi) VFPU_PI pi VFPU_2_PI 2/pi VFPU_1_PI 1/pi VFPU_PI_4 pi/4 VFPU_PI_2 pi/2 VFPU_E e VFPU_LOG2E log2(e) VFPU_LOG10E log10(e) VFPU_LN2 ln(2) VFPU_LN10 ln(10) VFPU_2PI 2*pi VFPU_PI_6 pi/6 VFPU_LOG10TWO log10(2) VFPU_LOG2TEN log2(10) VFPU_SQRT3_2 sqrt(3)/2
public static Info[] Constants
return Info[]