20typename std::enable_if<
21 std::is_signed<T>::value || std::is_floating_point<T>::value,
long >::type
40typename std::enable_if<
41 std::is_unsigned<T>::value,
long >::type
51 if (nMin < 0 || nVal >=
static_cast<unsigned long>(nMin))
53 if (nVal <=
static_cast<unsigned long>(nMax))
71 return (nWidthBits >> 5) << 2;
77 ? fVal == double(std::numeric_limits<tools::Long>::max())
78 ? std::numeric_limits<tools::Long>::max() :
static_cast<tools::Long>( fVal + 0.5 )
84[[nodiscard]]
inline typename std::enable_if<std::is_signed<T>::value, T>::type
sal_uInt32 AlignedWidth4Bytes(sal_uInt32 nWidthBits)
tools::Long FRound(double fVal)
std::enable_if< std::is_signed< T >::value, T >::type NormAngle180(T angle)
std::enable_if< std::is_signed< T >::value||std::is_floating_point< T >::value, long >::type MinMax(T nVal, tools::Long nMin, tools::Long nMax)