** Date Started: Dec. 83
**
** This is part of the CTSim program
-** Copyright (C) 1983-2000 Kevin Rosenberg
+** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: ctsupport.h,v 1.22 2001/01/02 16:02:12 kevin Exp $
+** $Id: ctsupport.h,v 1.24 2001/02/02 00:46:38 kevin Exp $
**
**
** This program is free software; you can redistribute it and/or modify
inline T nearest (double x)
{ return (x > 0 ? static_cast<T>(x+0.5) : static_cast<T>(x-0.5)); }
+template<class T>
+inline T maxValue (T x, T y)
+{ return (x > y ? x : y); }
+
inline bool isEven (int n)
{ return (n % 2) == 0; }