IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 19, 2005, 3:21:13 PM (21 years ago)
Author:
drobbin
Message:

changed psPolynomial fxns to use F64 and removed psDPoly fxns

File:
1 edited

Legend:

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

    r4419 r4581  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.74 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-06-28 23:28:31 $
     8 *  @version $Revision: 1.75 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-07-20 01:21:13 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    201201}
    202202
     203#define PS_ASSERT_DOUBLE_WITHIN_RANGE(NAME, LOWER, UPPER, RVAL) \
     204if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \
     205    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
     206            "Error: %s, %lf, is out of range.  Must be between %lf and %lf.", \
     207            #NAME, NAME, LOWER, UPPER); \
     208    return RVAL; \
     209}
     210
    203211// Return an error if the arg lies outside the supplied range
    204212#define PS_ASSERT_LONG_WITHIN_RANGE(NAME, LOWER, UPPER, RVAL) \
Note: See TracChangeset for help on using the changeset viewer.