IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2004, 2:18:31 PM (22 years ago)
Author:
gusciora
Message:

Fixed chebyshev polynomial code.

File:
1 edited

Legend:

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

    r2739 r2741  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-12-16 23:04:17 $
     8 *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-12-17 00:18:31 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9999            #NAME1, #NAME2); \
    100100    return(RVAL); \
     101}
     102
     103#define PS_FLOAT_CHECK_RANGE(NAME, LOWER, UPPER, RVAL) \
     104if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \
     105    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
     106            "Error: %s, %f, is out of range.  Must be between %f and %f.", \
     107            #NAME, NAME, LOWER, UPPER); \
     108    return RVAL; \
    101109}
    102110
Note: See TracChangeset for help on using the changeset viewer.