IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2005, 1:40:46 PM (21 years ago)
Author:
desonia
Message:

added comments on the end of #endif and #else

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psConstants.h

    r4108 r4162  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-06-04 00:49:48 $
     8 *  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-06-08 23:40:45 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4545#define M_1_PI 0.3183098861837906715377675267450287  /* 1/pi */
    4646#define M_2_PI 0.6366197723675813430755350534900574  /* 2/pi */
    47 #endif
    48 #define PS_PI   3.1415926535897932384626433832795029  /* pi */
     47#endif // #ifndef M_PI
    4948
    5049#define DEG_TO_RAD(DEGREES) ((DEGREES) * M_PI / 180.0)
     
    699698 *****************************************************************************/
    700699#define PS_MAX(A, B) \
    701 (((A) > (B)) ? (A) : (B)) \
     700(((A) > (B)) ? (A) : (B))
    702701
    703702#define PS_MIN(A, B) \
    704 (((A) < (B)) ? (A) : (B)) \
     703(((A) < (B)) ? (A) : (B))
    705704
    706705#define PS_SQR(A) \
    707 ((A) * (A)) \
    708 
    709 #ifdef DARWIN
    710 #define PS_SQRT_F32(A) ((float) sqrt(A))
    711 #else
    712 #define PS_SQRT_F32(A) (sqrtf(A))
    713 #endif
     706((A) * (A))
Note: See TracChangeset for help on using the changeset viewer.