GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-8
Constituent: pbs     Tag: linux-gcc
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _LSU_factors |
Structure to hold the calculated scale factors for a given unsigned numerator and denominator. More... | |
Typedefs | |
typedef _LSU_factors | LSU_factors |
Typedef for struct _LSU_factors. | |
Functions | |
void | LSU_atomicCalc (LSU_factors *factors, unsigned int numerator, unsigned int denominator) |
Calculates the scaling factors based on numerator and denominator. | |
unsigned int | LSU_atomicScale (const LSU_factors *factors, unsigned int dx) |
Returns the scaled value of dx. | |
void | LSU_calc (LSU_factors *factors, unsigned int numerator, unsigned int denominator) |
Calculates the scaling factors based on numerator and denominator. | |
unsigned int | LSU_scale (const LSU_factors *factors, unsigned int dx) |
Returns the scaled value of dx. |
CVS $Id: LSU.h,v 1.2 2005/05/02 15:39:39 russell Exp $
y = x * Numerator / Denominator
y = (x * factor) >> shift
|
Typedef for struct _LSU_factors.
|
|
Calculates the scaling factors based on numerator and denominator.
|
|
Returns the scaled value of dx.
|
|
Calculates the scaling factors based on numerator and denominator.
|
|
Returns the scaled value of dx.
|