[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MAX, MIN, IMAX, IMIN, FMAX, FMIN



The documentation in the manual is wrong: it should say that MAX() and
IMAX() return MIN.INTEGER, while MIN() and IMIN() return MAX.INTEGER.

These functions should obey the standard property that

(fn arg) = (fn arg (fn)), e.g.

(MAX A) = A = (MAX A (MAX)) = (MAX A MIN.INTEGER)

{this property is shared by all of the 'spread' arithmetic functions, e.g. PLUS,
TIMES, LOGOR, LOGAND, etc).

FMAX and FMIN do need to be implemented.

Larry