Changeset 2741 for trunk/psLib/src/math/psConstants.h
- Timestamp:
- Dec 16, 2004, 2:18:31 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psConstants.h
r2739 r2741 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.4 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-12-1 6 23:04:17$8 * @version $Revision: 1.46 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-17 00:18:31 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 99 99 #NAME1, #NAME2); \ 100 100 return(RVAL); \ 101 } 102 103 #define PS_FLOAT_CHECK_RANGE(NAME, LOWER, UPPER, RVAL) \ 104 if ((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; \ 101 109 } 102 110
Note:
See TracChangeset
for help on using the changeset viewer.
