Changeset 3880 for trunk/psLib/src/dataManip/psConstants.h
- Timestamp:
- May 10, 2005, 4:29:39 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psConstants.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r3700 r3880 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.6 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 4-14 03:23:55$8 * @version $Revision: 1.65 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-05-11 02:29:39 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 31 31 These are common mathimatical constants used by various functions in the psLib. 32 32 *****************************************************************************/ 33 #define PS_ONE 1.034 33 #define PS_PI 3.1415926535897932384626433832795029 /* pi */ 35 34 #define PS_PI_2 1.5707963267948966192313216916397514 /* pi/2 */ … … 38 37 #define PS_2_PI 0.6366197723675813430755350534900574 /* 2/pi */ 39 38 40 #define PS_COT(X) (1.0 / atan(X))41 39 #define DEG_TO_RAD(DEGREES) ((DEGREES) * PS_PI / 180.0) 42 40 #define MIN_TO_RAD(MINUTES) ((MINUTES) * PS_PI / (180.0 * 60.0))
Note:
See TracChangeset
for help on using the changeset viewer.
