Using functions for MAX and MIN limits thier usability.

From: Peter Ajamian (
Date: 04/21/01

I wonder why something so simple as MAX and MIN are using functions in
the stock source, especially when you consider that by passing and
returning an int you limit thier usefullness (you can't use them for long
on 16 bit systems or unsigned long or long long or floating point types
on any system).  If macros were used instead such a limitation would not
exist (not to mention it would be faster because the code would be

Regards, Peter

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/05/01 PST