|
|
| version 1.3, 2003/11/03 19:31:43 | version 1.4, 2004/03/13 21:08:38 |
|---|---|
| Line 62 static long median(float, float *, long | Line 62 static long median(float, float *, long |
| * bad values. | * bad values. |
| */ | */ |
| long | long |
| networkdelta() | networkdelta(void) |
| { | { |
| struct hosttbl *htp; | struct hosttbl *htp; |
| long med; | long med; |
| Line 148 networkdelta() | Line 148 networkdelta() |
| * in <<Numerical Recipes>>. | * in <<Numerical Recipes>>. |
| */ | */ |
| static long | static long |
| median(a, eps_ptr, x, xlim, gnuf) | median(float a, /* initial guess for the median */ |
| float a; /* initial guess for the median */ | float *eps_ptr, /* spacing near the median */ |
| float *eps_ptr; /* spacing near the median */ | long *x, long *xlim, /* the data */ |
| long *x, *xlim; /* the data */ | unsigned int gnuf) /* good enough estimate */ |
| unsigned int gnuf; /* good enough estimate */ | |
| { | { |
| long *xptr; | long *xptr; |
| float ap = LONG_MAX; /* bounds on the median */ | float ap = LONG_MAX; /* bounds on the median */ |