Changeset 11248 for trunk/psLib/src/math/psConstants.h
- Timestamp:
- Jan 23, 2007, 12:47:23 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psConstants.h
r9593 r11248 1 /* *@file psConstants.h1 /* @file psConstants.h 2 2 * 3 * This file will hold definitions of various constants as well as common 4 * macros used throughout psLib. 3 * @brief Definitions of various constants and common macros 5 4 * 6 * @author GLG, MHPCC5 * @author GLG, MHPCC 7 6 * 8 * @version $Revision: 1.94$ $Name: not supported by cvs2svn $9 * @date $Date: 2006-10-17 01:34:45$7 * @version $Revision: 1.95 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-01-23 22:47:23 $ 10 9 * 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 12 11 * 13 * XXX: Add parenthesis around all arguments so that these macros can be14 * called with complex expressions.12 * XXX: Add parenthesis around all arguments so that these macros can be 13 * called with complex expressions. 15 14 * 16 * XXX: All functions which use the PS_ASSERT macros must be scrutinized so17 * that we ensure that an argument which is expected to be output is18 * psFree'ed before reurning NULL.15 * XXX: All functions which use the PS_ASSERT macros must be scrutinized so 16 * that we ensure that an argument which is expected to be output is 17 * psFree'ed before reurning NULL. 19 18 * 20 * XXX: The macros have a name similar to PS_CHECK_CONDITION() and generally21 * throw a psError if the CONDITION is true. However, some throw the error22 * if the CONDITION is false. This should be consistant.19 * XXX: The macros have a name similar to PS_CHECK_CONDITION() and generally 20 * throw a psError if the CONDITION is true. However, some throw the error 21 * if the CONDITION is false. This should be consistant. 23 22 * 24 23 */ 24 25 #ifndef PS_CONSTANTS_H 26 #define PS_CONSTANTS_H 27 28 /// @addtogroup MathOps Mathematical Operations 29 /// @{ 25 30 26 31 #include <math.h> // for M_PI … … 62 67 #define PS_NOT_U16(A)(USHORT_MAX-(A)) // Perform bitwaise NOT on A which is of type U16 63 68 69 /// @} 70 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
