Changeset 21183 for trunk/psLib/src/math/psConstants.h
- Timestamp:
- Jan 26, 2009, 8:40:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psConstants.h
r17035 r21183 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1.9 6$ $Name: not supported by cvs2svn $8 * @date $Date: 200 8-03-18 18:25:00$7 * @version $Revision: 1.97 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2009-01-27 06:39:38 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 68 68 // These defines for bitwise opertaions are necessary to yield results of the proper size (use instead of ~) 69 #define PS_NOT_U8(A)(UCHAR_MAX-(A)) // Perform bitwise NOT on A which is of type U8 70 #define PS_NOT_U16(A)(USHORT_MAX-(A)) // Perform bitwaise NOT on A which is of type U16 69 #define PS_NOT_U8(A)(UINT8_MAX-(A)) // Perform bitwise NOT on A which is of type U8 70 #define PS_NOT_U16(A)(UINT16_MAX-(A)) // Perform bitwaise NOT on A which is of type U16 71 #define PS_NOT_U32(A)(UINT32_MAX-(A)) // Perform bitwise NOT on A which is of type U8 72 #define PS_NOT_U64(A)(UINT64_MAX-(A)) // Perform bitwaise NOT on A which is of type U16 71 73 72 74 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
