Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

minmax.h File Reference

Go to the source code of this file.

Functions

int min (int one, int second)
 Minimum.
int max (int one, int second)
 Maximum.


Function Documentation

int max int  one,
int  second
[inline]
 

Maximum.

Definition at line 16 of file minmax.h.

00017 {
00018     return one >= second ? one : second;
00019 }

int min int  one,
int  second
[inline]
 

Minimum.

Definition at line 8 of file minmax.h.

00009 {
00010     return one <= second ? one : second;
00011 }


Generated on Wed Jun 1 09:54:32 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2