BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdata_minmax - find the min/max values for a region of data

LIBRARY CALL

int kdata_minmax(
   kaddr  data,
   int    num,
   int    datatype,
   double *minval,
   double *maxval)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This function is used to find the min/max values associated with a region of memory. A datatype is used to determine how to search the data set. The data types are byte, unsigned byte, short, unsigned short, long, unsigned long, int, unsigned int, float, and double.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/kdata_minmax.c

SEE ALSO

klibm(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.