nn::math::Min Function

Syntax

template <typename T, typename U, typename S>
S Min(
     T a,
     U b
);

Template Arguments

Name Description
T Type representing a numerical value.
U Type representing a numerical value.
S Return value type.

Arguments

Name Description
in a Value to compare to the b argument.
in b Value to compare to the a argument.

Return Values

Compares a and b and returns the smaller value.

Description

Finds the minimum value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL