Home | History | Annotate | Download | only in stl

Lines Matching defs:abs

113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); }
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); }
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); }
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); }
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; }
164 * problem we provide all abs overload before the 'using' call.
165 * Beware: This header inclusion has to be after all abs overload of this file.
166 * The first 'using ::abs' call is going to be in the other header.
173 // ad hoc, don't replace with _STLP_VENDOR_CSTD::abs here! - ptr 2005-03-05
175 using ::abs;