nn::math::Max Function

Syntax

template <typename T>
T Max(
     T a,
     T b
);

Template Arguments

Name Description
T Type representing a numeric value

Arguments

Name Description
in a Value to compare with argument b
in b Value to compare with argument a

Return Values

Compares a and b, and returns the larger of the two.

Description

Finds the maximum value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL