Syntax
#define max(a,b) ((a)>(b)?(a):(b))
ContentsIndex
PreviousUpNext
max
Syntax
#define max(a,b) ((a)>(b)?(a):(b))
Description

Calculates the maximum of two numbers.

Parameters
Parameters 
Description 
x 
the first number, any data type
 
y 
the second number, any data type  
Returns

The larger of the two numbers.

File

wiring_constants.h

Group