Changeset 1331
- Timestamp:
- Jul 28, 2004, 6:18:50 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
dataManip/psStats.c (modified) (1 diff)
-
math/psStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psStats.c
r1330 r1331 30 30 #define false 0 31 31 #define MY_MAX_FLOAT HUGE 32 #define MAX_ITERATIONS 2032 #define MAX_ITERATIONS 10 33 33 34 34 void p_psVectorRobustStats(const psVector *restrict myVector, -
trunk/psLib/src/math/psStats.c
r1330 r1331 29 29 #define true 1 30 30 #define false 0 31 #define MY MAXFLOAT HUGE31 #define MY_MAX_FLOAT HUGE 32 32 #define MAX_ITERATIONS 20 33 33 … … 268 268 { 269 269 int i = 0; // Loop index variable 270 float max = -MY MAXFLOAT; // The calculated maximum270 float max = -MY_MAX_FLOAT; // The calculated maximum 271 271 float rangeMin = 0.0; // Exclude data below this 272 272 float rangeMax = 0.0; // Exclude date above this … … 333 333 { 334 334 int i = 0; // Loop index variable 335 float min = MY MAXFLOAT; // The calculated maximum335 float min = MY_MAX_FLOAT; // The calculated maximum 336 336 float rangeMin = 0.0; // Exclude data below this 337 337 float rangeMax = 0.0; // Exclude date above this
Note:
See TracChangeset
for help on using the changeset viewer.
