altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Functions | Variables
sin_table.cpp File Reference

Macros

#define MY_PI   3.14159265358979323846
 
#define MY_HALF_PI   1.57079632679489661923
 
#define NUM_ITERATIONS   2
 

Functions

double fsin (double rad)
 
double fcos (double rad)
 
float InvSqrt (float x)
 
float abs32 (float val)
 
int abs32 (int val)
 
float guessSqrt (float x)
 
float newtonSqrt (float x)
 
float sign (float x)
 
double fasin (double x)
 
double facos (double x)
 

Variables

const double sin_table [629]
 
const double asin_table [200]
 

Macro Definition Documentation

#define MY_HALF_PI   1.57079632679489661923
#define MY_PI   3.14159265358979323846
#define NUM_ITERATIONS   2

Function Documentation

float abs32 ( float  val)

Here is the caller graph for this function:

int abs32 ( int  val)
double facos ( double  x)

Here is the call graph for this function:

Here is the caller graph for this function:

double fasin ( double  x)

Here is the caller graph for this function:

double fcos ( double  rad)

Here is the caller graph for this function:

double fsin ( double  rad)

Here is the caller graph for this function:

float guessSqrt ( float  x)
inline

Here is the caller graph for this function:

float InvSqrt ( float  x)

Here is the caller graph for this function:

float newtonSqrt ( float  x)

Here is the call graph for this function:

Here is the caller graph for this function:

float sign ( float  x)

Here is the caller graph for this function:

Variable Documentation

const double asin_table[200]
const double sin_table[629]