Group: comp.lang.fortran · Group Profile · Search for Max1 in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Sep 8, 2006 09:32
... MaxNum, etc. How languages expose those functions to users is up to the language. Personally I would not call them 'min' or 'max'... For an extra complication (for comp.lang.fortran), what should MAX1(NaN,0) return? Note that C, or at least C89, doesn't have max and min, but they are commonly done using preprocessor macros. They are then dependent on the result of the or =...
|