Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

gr_fxpt Class Reference

#include <gr_fxpt.h>

List of all members.


Detailed Description

fixed point sine and cosine and friends.

fixed pt radians --------- -------- -2**31 -pi 0 0 2**31-1 pi - epsilon


Static Public Member Functions

gr_int32 float_to_fixed (float x)
float fixed_to_float (gr_int32 x)
float sin (gr_int32 x)
 Given a fixed point angle x, return float sine (x).

float cos (gr_int32 x)


Member Function Documentation

float gr_fxpt::cos gr_int32  x  )  [inline, static]
 

float gr_fxpt::fixed_to_float gr_int32  x  )  [inline, static]
 

gr_int32 gr_fxpt::float_to_fixed float  x  )  [inline, static]
 

float gr_fxpt::sin gr_int32  x  )  [inline, static]
 

Given a fixed point angle x, return float sine (x).


The documentation for this class was generated from the following files:
Generated on Tue Mar 29 19:56:37 2005 for GNU Radio 2.x by doxygen 1.3.2