C# Class C64Lib.Core.FixPoint

Show file Open project: rosc77/vita64 Class Usage Examples

Public Methods

Method Description
FixNo ( double n ) : FixPoint
FixNo ( int n ) : FixPoint
InitFixSinTab ( ) : void
abs ( ) : FixPoint
fixcos ( FixPoint x ) : FixPoint
fixsin ( FixPoint x ) : FixPoint
imul ( int y ) : int
operator ( ) : FixPoint
operator ( ) : bool
sqr ( ) : FixPoint
sqrt ( ) : FixPoint

Private Methods

Method Description
FixPoint ( ) : System
FixPoint ( int y ) : System
Value ( ) : int
fixdiv ( int x, int y ) : int
fixmult ( int x, int y ) : int
fixsqrt ( int x ) : int
fixsquare ( int x ) : int
intmult ( int x, int y ) : int
round ( ) : int

Method Details

FixNo() public static method

public static FixNo ( double n ) : FixPoint
n double
return FixPoint

FixNo() public static method

public static FixNo ( int n ) : FixPoint
n int
return FixPoint

InitFixSinTab() public static method

public static InitFixSinTab ( ) : void
return void

abs() public method

public abs ( ) : FixPoint
return FixPoint

fixcos() public static method

public static fixcos ( FixPoint x ) : FixPoint
x FixPoint
return FixPoint

fixsin() public static method

public static fixsin ( FixPoint x ) : FixPoint
x FixPoint
return FixPoint

imul() public method

public imul ( int y ) : int
y int
return int

operator() public static method

public static operator ( ) : FixPoint
return FixPoint

operator() public static method

public static operator ( ) : bool
return bool

sqr() public method

public sqr ( ) : FixPoint
return FixPoint

sqrt() public method

public sqrt ( ) : FixPoint
return FixPoint