Changeset 2329 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Nov 10, 2004, 1:22:32 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r2327 r2329 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.8 8$ $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 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 45 45 #define PS_CLIPPED_SIGMA_LB 1.0 46 46 #define PS_CLIPPED_SIGMA_UB 10.0 47 #define PS_MAX_FLOAT HUGE48 47 #define PS_POLY_MEDIAN_MAX_ITERATIONS 10 49 48 … … 235 234 { 236 235 psS32 i = 0; // Loop index variable 237 float max = -PS_MAX_F LOAT; // The calculated maximum236 float max = -PS_MAX_F32; // The calculated maximum 238 237 float rangeMin = 0.0; // Exclude data below this 239 238 float rangeMax = 0.0; // Exclude date above this … … 298 297 { 299 298 psS32 i = 0; // Loop index variable 300 float min = PS_MAX_F LOAT; // The calculated maximum299 float min = PS_MAX_F32; // The calculated maximum 301 300 float rangeMin = 0.0; // Exclude data below this 302 301 float rangeMax = 0.0; // Exclude date above this … … 822 821 float outHigh) 823 822 { 824 float min = (float)HUGE;825 float max = (float)-HUGE;823 float min = PS_MAX_F32; 824 float max = -PS_MAX_F32; 826 825 psS32 i = 0; 827 826 … … 856 855 float outHigh) 857 856 { 858 float min = (float)HUGE;859 float max = (float)-HUGE;857 float min = PS_MAX_F32; 858 float max = -PS_MAX_F32; 860 859 psS32 i = 0; 861 860
Note:
See TracChangeset
for help on using the changeset viewer.
