On Wed, 17 Mar 2004, Malcolm J. Currie wrote:
> > /* Define BAD values. */
> >
> > #include <float.h>
> > #include <limits.h>
> >
> > #define VAL__BADF -FLT_MAX
> > #define VAL__BADD -DBL_MAX
> > #define VAL__BADI INT_MIN
> > #define VAL__BADS SHRT_MIN
> > #define VAL__BADUS USHRT_MAX
> > #define VAL__BADB CHAR_MIN
> > #define VAL__BADUB UCHAR_MAX
>
> What about the VAL_MINx, i.e. one bit different from VAL__BADx?
Didn't need those, so I've left that as an exercise for others. Those are
a programming matter, nothing to do with data/HDS.
Peter.
|