include/utilities/types.h
author Dmitriy Morozov <morozov@cs.duke.edu>
Tue, 14 Aug 2007 17:15:08 -0400
changeset 20 7bf6aa6b0ab6
parent 5 include/types.h@ee9052408c40
child 25 25ae830bdcc7
permissions -rw-r--r--
Broke include/ into separate topology/ and utilities/ subdirectories

#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__