include/utilities/types.h
author Dmitriy Morozov <morozov@cs.duke.edu>
Sat, 15 Sep 2007 14:31:36 -0400
changeset 34 19fb71f2405e
parent 25 25ae830bdcc7
child 97 0a9bd3f34419
permissions -rw-r--r--
Counter omits color codes only if connected to a TTY

#ifndef __TYPES_H__
#define __TYPES_H__

#include <limits>

/* Types */
typedef 	bool					Sign;
typedef		unsigned 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__