/* numericUtilities.h */ /* deliver the larger of two integers */ int maxInt(int x, int y); /* deliver the smaller of two integers */ int minInt(int x, int y); /* digitize x according to a uniform partition of the range (a, b) into n digital levels assuming a < x < b truncating out-of-range x's to appropriate exteme */ int digitize(int n, double a, double b, double x); /* deliver digital representation of x selected from a given sequence of display characters assuming a < x < b truncating out-of-range x's to appropriate exteme */ char digitalDisplay(char displayChars[ ], double a, double b, double x);