Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 2327)
+++ trunk/psLib/src/math/psStats.c	(revision 2329)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-10 23:05:49 $
+ *  @version $Revision: 1.89 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-10 23:22:32 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -45,5 +45,4 @@
 #define PS_CLIPPED_SIGMA_LB 1.0
 #define PS_CLIPPED_SIGMA_UB 10.0
-#define PS_MAX_FLOAT HUGE
 #define PS_POLY_MEDIAN_MAX_ITERATIONS 10
 
@@ -235,5 +234,5 @@
 {
     psS32 i = 0;                // Loop index variable
-    float max = -PS_MAX_FLOAT;  // The calculated maximum
+    float max = -PS_MAX_F32;  // The calculated maximum
     float rangeMin = 0.0;       // Exclude data below this
     float rangeMax = 0.0;       // Exclude date above this
@@ -298,5 +297,5 @@
 {
     psS32 i = 0;                // Loop index variable
-    float min = PS_MAX_FLOAT;   // The calculated maximum
+    float min = PS_MAX_F32;   // The calculated maximum
     float rangeMin = 0.0;       // Exclude data below this
     float rangeMax = 0.0;       // Exclude date above this
@@ -822,6 +821,6 @@
                                  float outHigh)
 {
-    float min = (float)HUGE;
-    float max = (float)-HUGE;
+    float min = PS_MAX_F32;
+    float max = -PS_MAX_F32;
     psS32 i = 0;
 
@@ -856,6 +855,6 @@
                                  float outHigh)
 {
-    float min = (float)HUGE;
-    float max = (float)-HUGE;
+    float min = PS_MAX_F32;
+    float max = -PS_MAX_F32;
     psS32 i = 0;
 
