IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 10, 2004, 1:22:32 PM (22 years ago)
Author:
gusciora
Message:

Working with macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.c

    r2327 r2329  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-10 23:05:49 $
     11 *  @version $Revision: 1.89 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-11-10 23:22:32 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4545#define PS_CLIPPED_SIGMA_LB 1.0
    4646#define PS_CLIPPED_SIGMA_UB 10.0
    47 #define PS_MAX_FLOAT HUGE
    4847#define PS_POLY_MEDIAN_MAX_ITERATIONS 10
    4948
     
    235234{
    236235    psS32 i = 0;                // Loop index variable
    237     float max = -PS_MAX_FLOAT;  // The calculated maximum
     236    float max = -PS_MAX_F32;  // The calculated maximum
    238237    float rangeMin = 0.0;       // Exclude data below this
    239238    float rangeMax = 0.0;       // Exclude date above this
     
    298297{
    299298    psS32 i = 0;                // Loop index variable
    300     float min = PS_MAX_FLOAT;   // The calculated maximum
     299    float min = PS_MAX_F32;   // The calculated maximum
    301300    float rangeMin = 0.0;       // Exclude data below this
    302301    float rangeMax = 0.0;       // Exclude date above this
     
    822821                                 float outHigh)
    823822{
    824     float min = (float)HUGE;
    825     float max = (float)-HUGE;
     823    float min = PS_MAX_F32;
     824    float max = -PS_MAX_F32;
    826825    psS32 i = 0;
    827826
     
    856855                                 float outHigh)
    857856{
    858     float min = (float)HUGE;
    859     float max = (float)-HUGE;
     857    float min = PS_MAX_F32;
     858    float max = -PS_MAX_F32;
    860859    psS32 i = 0;
    861860
Note: See TracChangeset for help on using the changeset viewer.