gr_fxpt Class Reference
[Mathmatics]

fixed point sine and cosine and friends.

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

#include <gr_fxpt.h>

List of all members.

Static Public Member Functions

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


Detailed Description

fixed point sine and cosine and friends.

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


Member Function Documentation

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

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

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

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

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

Referenced by gr_fxpt_nco::sin(), and gr_fxpt_nco::sincos().


The documentation for this class was generated from the following file:

Generated on Thu Mar 5 09:02:48 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8