GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V1-0-1

Constituent: grbpsiu     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_math.h File Reference

This file adds the M_xxx values for VXWORKS platforms. They are not present in the system version of math.h. More...

#include "PBI/Endianness.h"
#include <math.h>

Include dependency graph for GRBP_math.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  _Float_bf
 Maps the bit fields of a 32-bit floating point number. More...
union  _Float
 Union of the various representations of a 32-bit floating point number. More...
struct  _Double_bf
 Maps the bit fields of a 64-bit floating point number. More...
union  _Double
 Union of the various representations of a 64-bit floating point number. More...

Typedefs

typedef enum _FLOAT_S FLOAT_S
 Typedef for enum _FLOAT_S.
typedef enum _FLOAT_V FLOAT_V
 Typedef for enum _FLOAT_V.
typedef enum _FLOAT_M FLOAT_M
 Typedef for enum _FLOAT_M.
typedef _Float_bf Float_bf
 Typedef for struct _Float_bf.
typedef _Float Float
 Typedef for union _Float.
typedef enum _DOUBLE_S DOUBLE_S
 Typedef for enum _DOUBLE_S.
typedef enum _DOUBLE_V DOUBLE_V
 Typedef for enum _DOUBLE_V.
typedef enum _DOUBLE_M DOUBLE_M
 Typedef for enum _DOUBLE_M.
typedef _Double_bf Double_bf
 Typedef for struct _Double_bf.
typedef _Double Double
 Typedef for union _Double.

Enumerations

enum  _FLOAT_S {
  FLOAT_S_SIGN = 1,
  FLOAT_S_EXP = 8,
  FLOAT_S_MAN = 23
}
 Defines the sizes of the bit fields of a 32-bit floating point number. More...
enum  _FLOAT_V {
  FLOAT_V_SIGN = 31,
  FLOAT_V_EXP = 23,
  FLOAT_V_MAN = 0
}
 Defines the right justified shifts of the bit fields of a 32-bit floating point number. More...
enum  _FLOAT_M {
  FLOAT_M_SIGN = ((1 << FLOAT_S_SIGN) - 1) << FLOAT_V_SIGN,
  FLOAT_M_EXP = ((1 << FLOAT_S_EXP) - 1) << FLOAT_V_EXP,
  FLOAT_M_MAN = ((1 << FLOAT_S_MAN) - 1) << FLOAT_V_MAN
}
 Defines the in place masks of the bit fields of a 32-bit floating point number. More...
enum  _DOUBLE_S {
  DOUBLE_S_SIGN = 1,
  DOUBLE_S_EXP = 8,
  DOUBLE_S_MAN = 23
}
 Defines the sizes of the bit fields of a 32-bit floating point number. More...
enum  _DOUBLE_V {
  DOUBLE_V_SIGN = 31,
  DOUBLE_V_EXP = 23,
  DOUBLE_V_MAN = 0
}
 Defines the right justified shifts of the bit fields of a 64-bit floating point number. More...
enum  _DOUBLE_M {
  DOUBLE_M_SIGN = ((1 << DOUBLE_S_SIGN) - 1) << DOUBLE_V_SIGN,
  DOUBLE_M_EXP = ((1 << DOUBLE_S_EXP) - 1) << DOUBLE_V_EXP,
  DOUBLE_M_MAN = ((1 << DOUBLE_S_MAN) - 1) << DOUBLE_V_MAN
}
 Defines the in place masks of the bit fields of a 32-bit doubleing point number. More...

Detailed Description

This file adds the M_xxx values for VXWORKS platforms. They are not present in the system version of math.h.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: GRBP_math.h,v 1.2 2007/08/02 17:25:00 russell Exp $

Enumeration Type Documentation

enum _DOUBLE_M
 

Defines the in place masks of the bit fields of a 32-bit doubleing point number.

Enumerator:
DOUBLE_M_SIGN  Right shift of the sign field
DOUBLE_M_EXP  Right shift of the exponent field
DOUBLE_M_MAN  Right of the mantissa field

enum _DOUBLE_S
 

Defines the sizes of the bit fields of a 32-bit floating point number.

Enumerator:
DOUBLE_S_SIGN  Size of the sign field
DOUBLE_S_EXP  Size of the exponent field
DOUBLE_S_MAN  Size of the mantissa field

enum _DOUBLE_V
 

Defines the right justified shifts of the bit fields of a 64-bit floating point number.

Enumerator:
DOUBLE_V_SIGN  Right shift of the sign field
DOUBLE_V_EXP  Right shift of the exponent field
DOUBLE_V_MAN  Right of the mantissa field

enum _FLOAT_M
 

Defines the in place masks of the bit fields of a 32-bit floating point number.

Enumerator:
FLOAT_M_SIGN  Right shift of the sign field
FLOAT_M_EXP  Right shift of the exponent field
FLOAT_M_MAN  Right of the mantissa field

enum _FLOAT_S
 

Defines the sizes of the bit fields of a 32-bit floating point number.

Enumerator:
FLOAT_S_SIGN  Size of the sign field
FLOAT_S_EXP  Size of the exponent field
FLOAT_S_MAN  Size of the mantissa field

enum _FLOAT_V
 

Defines the right justified shifts of the bit fields of a 32-bit floating point number.

Enumerator:
FLOAT_V_SIGN  Right shift of the sign field
FLOAT_V_EXP  Right shift of the exponent field
FLOAT_V_MAN  Right of the mantissa field


Generated on Sun Jun 14 02:10:09 2009 by  doxygen 1.4.4