00001 /****************************************************************************/ 00002 /* */ 00003 /* This file is part of CONCORDE */ 00004 /* */ 00005 /* (c) Copyright 1995--1999 by David Applegate, Robert Bixby, */ 00006 /* Vasek Chvatal, and William Cook */ 00007 /* */ 00008 /* Permission is granted for academic research use. For other uses, */ 00009 /* contact the authors for licensing options. */ 00010 /* */ 00011 /* Use at your own risk. We make no guarantees about the */ 00012 /* correctness or usefulness of this code. */ 00013 /* */ 00014 /****************************************************************************/ 00015 00016 /****************************************************************************/ 00017 /* */ 00018 /* EXPORTED FUNCTIONS: */ 00019 /* */ 00020 /* CC_SWAP(a,b,t) */ 00021 /* swaps a and b, using t as temporary space. a, b, and t should all */ 00022 /* be the same type. */ 00023 /* */ 00024 /* CC_OURABS(a) */ 00025 /* returns the absolute value of a. */ 00026 /* */ 00027 /****************************************************************************/ 00028 00029 #ifndef __MACRORUS_H 00030 #define __MACRORUS_H 00031 00032 #define CC_SWAP(a,b,t) (((t)=(a)),((a)=(b)),((b)=(t))) 00033 00034 #define CC_OURABS(a) (((a) >= 0) ? (a) : -(a)) 00035 00036 #endif /* __MACRORUS_H */