include/utilities/types.h
author Dmitriy Morozov <morozov@cs.duke.edu>
Tue, 19 Feb 2008 06:51:23 -0500
branchar
changeset 59 4eb311c4d0e7
parent 20 7bf6aa6b0ab6
child 25 25ae830bdcc7
permissions -rw-r--r--
Commit to merge in changes from master.

#ifndef __TYPES_H__
#define __TYPES_H__

#include <limits>

/* Types */
typedef 	bool					Sign;
typedef		short int				Dimension;
const 		Sign	 				POS = true;
const 		Sign					NEG = false;
typedef		double					RealType;
typedef		unsigned int			SizeType;

static RealType Infinity = std::numeric_limits<RealType>::infinity();

typedef 	const unsigned int&		version_type;

#endif // __TYPES_H__