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 numeric value
U Type representing a numeric value
S Return Value Type

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 smaller of the two.

Description

Finds the minimum value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL