IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2005, 11:48:13 AM (21 years ago)
Author:
evanalst
Message:

SDR-14 function updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r4049 r4051  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.70 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-05-31 21:25:27 $
     8 *  @version $Revision: 1.71 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-05-31 21:48:13 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    150150}
    151151
     152// Return an error if the arg lies outside the supplied range
     153#define PS_ASSERT_LONG_WITHIN_RANGE(NAME, LOWER, UPPER, RVAL) \
     154if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \
     155    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
     156            "Error: %s, %lld, is out of range.", \
     157            #NAME, NAME, LOWER, UPPER); \
     158    return RVAL; \
     159}
     160
    152161/*****************************************************************************
    153162Macros which take a generic psLib type and determine if it is NULL, or has
Note: See TracChangeset for help on using the changeset viewer.