Specialized Template Function epicsMin(const float&, const float&)

Function Documentation

template<>
inline const float &epicsMin(const float &a, const float &b)

Returns the smaller of a or b compared using a<b.

Note

If b is a NaN the above template returns a, but should return NaN. These specializations ensure that epicsMin(x,NaN) == NaN