Changeset 21076
- Timestamp:
- Jan 1, 2009, 7:08:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psLib/src/math/psConstants.h
r17035 r21076 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1.96 $ $Name: not supported by cvs2svn $8 * @date $Date: 200 8-03-18 18:25:00 $7 * @version $Revision: 1.96.36.1 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2009-01-02 05:08:40 $ 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.
