common.h File Reference

Useful macro and defines. More...


Defines

#define MAX(_x, _y)   ((_x) > (_y) ? (_x) : (_y))
#define MIN(_x, _y)   ((_x) < (_y) ? (_x) : (_y))
#define ABS(_x)   ((_x) >= 0 ? (_x) : -(_x))
#define SQRT2   1.414213562373095
#define local   static
#define NUMBER_OF_BITS(_x)   (number_of_bits_table[(_x)])
#define GET_BYTE(_x, _i)   (((unsigned char *) &(_x))[(_i)])

Typedefs

typedef double coeff_t

Functions

int number_of_bits (int value)
int is_power_of_two (int value)

Variables

local int number_of_bits_table [256]


Detailed Description

This file contains useful macro and defines which are common to all library parts.

Generated on Fri May 27 14:50:00 2011 for EPSILON by  doxygen 1.5.6