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

Function Documentation

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

Returns the larger 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 epicsMax(x,NaN) == NaN