Changeset 8912
- Timestamp:
- Sep 22, 2006, 5:39:33 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psAssert.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psAssert.h
r8627 r8912 143 143 "Error: %s, %f, is out of range. Must be between %f and %f.", \ 144 144 #NAME, NAME, LOWER, UPPER); \ 145 return RVAL; \ 146 } 147 148 #define PS_ASSERT_FLOAT_REAL(NAME, RVAL) \ 149 if (!finite(NAME)) { \ 150 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 151 "Error: %s=%fis not a real value.\n", \ 152 #NAME, NAME); \ 145 153 return RVAL; \ 146 154 }
Note:
See TracChangeset
for help on using the changeset viewer.
