CMS 3D CMS Logo

nint.h

Go to the documentation of this file.
00001 #ifndef GEOMETRY_CSCGeometry_NINT_H_
00002 #define GEOMETRY_CSCGeometry_NINT_H_
00003 
00004 // From CommonDet/Utilities
00005 
00007 
00008 inline int nint( float a)  { return a>=0 ? int( a+0.5) : int( a-0.5);}
00009 inline int nint( double a) { return a>=0 ? int( a+0.5) : int( a-0.5);}
00010 
00011 #endif

Generated on Tue Jun 9 17:37:18 2009 for CMSSW by  doxygen 1.5.4