Structural deformable models
Classes | Macros | Typedefs | Functions | Variables
airnan.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  airFloat
 
union  airDouble
 
union  _airFloat
 

Macros

#define TEEM_QNANHIBIT   1
 
#define TEEM_ENDIAN   1234
 
#define AIR_NAN   (airFloatNaN.f) /* same as airFloatQNaN.f */
 
#define AIR_QNAN   (airFloatQNaN.f)
 

Typedefs

typedef signed long long airLLong
 
typedef unsigned long long airULLong
 

Functions

int airIsNaN (float g)
 

Variables

static const int airMyQNaNHiBit = 1
 
static const airFloat airFloatNaN = {0x7fffffff}
 
static const airFloat airFloatQNaN = {0x7fffffff}
 
static const airFloat airFloatSNaN = {0x7fbfffff}
 

Macro Definition Documentation

#define AIR_NAN   (airFloatNaN.f) /* same as airFloatQNaN.f */

Definition at line 80 of file airnan.h.

Referenced by PPSensor::performUpdate().

#define AIR_QNAN   (airFloatQNaN.f)

Definition at line 81 of file airnan.h.

#define TEEM_ENDIAN   1234

Definition at line 18 of file airnan.h.

#define TEEM_QNANHIBIT   1

Definition at line 8 of file airnan.h.

Typedef Documentation

typedef signed long long airLLong

Definition at line 24 of file airnan.h.

typedef unsigned long long airULLong

Definition at line 25 of file airnan.h.

Function Documentation

int airIsNaN ( float  g)
inline

Definition at line 93 of file airnan.h.

References _airFloat::c, _airFloat::exp, _airFloat::frac, and _airFloat::v.

93  {
94  _airFloat f;
95 
96  f.v = g;
97  return (255 == f.c.exp && f.c.frac);
98 }
struct _airFloat::@0 c
unsigned int exp
Definition: airnan.h:52
unsigned int frac
Definition: airnan.h:51
float v
Definition: airnan.h:60

Variable Documentation

const airFloat airFloatNaN = {0x7fffffff}
static

Definition at line 70 of file airnan.h.

const airFloat airFloatQNaN = {0x7fffffff}
static

Definition at line 71 of file airnan.h.

const airFloat airFloatSNaN = {0x7fbfffff}
static

Definition at line 72 of file airnan.h.

const int airMyQNaNHiBit = 1
static

Definition at line 69 of file airnan.h.