Changeset 9593 for trunk/psLib/src/math/psConstants.h
- Timestamp:
- Oct 16, 2006, 3:34:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psConstants.h
r7766 r9593 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.9 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2006- 06-30 02:20:06$8 * @version $Revision: 1.94 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-10-17 01:34:45 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 57 57 58 58 #define PS_SWAP(X,Y) {double tmp=(X); (X) = (Y); (Y) = tmp;} 59 60 // These defines for bitwise opertaions are necessary to yield results of the proper size (use instead of ~) 61 #define PS_NOT_U8(A)(UCHAR_MAX-(A)) // Perform bitwise NOT on A which is of type U8 62 #define PS_NOT_U16(A)(USHORT_MAX-(A)) // Perform bitwaise NOT on A which is of type U16 63
Note:
See TracChangeset
for help on using the changeset viewer.
