39 #pragma GCC system_header 43 #ifndef _GLIBCXX_CSTDLIB 44 #define _GLIBCXX_CSTDLIB 1 52 #define EXIT_SUCCESS 0 53 #define EXIT_FAILURE 1 57 extern "C" void abort(
void)
throw () _GLIBCXX_NORETURN;
58 extern "C" int atexit(
void (*)(
void))
throw ();
59 extern "C" void exit(
int)
throw () _GLIBCXX_NORETURN;
60 #if __cplusplus >= 201103L 61 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT 62 extern "C" int at_quick_exit(
void (*)(
void))
throw ();
64 # ifdef _GLIBCXX_HAVE_QUICK_EXIT 65 extern "C" void quick_exit(
int)
throw() _GLIBCXX_NORETURN;
74 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS 75 #include_next <stdlib.h> 76 #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS 82 #if __cplusplus >= 201103L 83 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT 103 #if __cplusplus >= 201103L 104 # ifdef _GLIBCXX_HAVE_QUICK_EXIT 120 namespace std _GLIBCXX_VISIBILITY(default)
122 _GLIBCXX_BEGIN_NAMESPACE_VERSION
130 #if __cplusplus >= 201103L 131 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT 132 using ::at_quick_exit;
147 #ifdef _GLIBCXX_HAVE_MBSTATE_T 151 #endif // _GLIBCXX_HAVE_MBSTATE_T 153 #if __cplusplus >= 201103L 154 # ifdef _GLIBCXX_HAVE_QUICK_EXIT 165 #ifdef _GLIBCXX_USE_WCHAR_T 168 #endif // _GLIBCXX_USE_WCHAR_T 170 #ifndef __CORRECT_ISO_CPP_STDLIB_H_PROTO 172 abs(
long __i) {
return __builtin_labs(__i); }
175 div(
long __i,
long __j) {
return ldiv(__i, __j); }
178 #ifdef _GLIBCXX_USE_LONG_LONG 180 abs(
long long __x) {
return __builtin_llabs (__x); }
183 #if defined(__GLIBCXX_TYPE_INT_N_0) 184 inline __GLIBCXX_TYPE_INT_N_0
185 abs(__GLIBCXX_TYPE_INT_N_0 __x) {
return __x >= 0 ? __x : -__x; }
187 #if defined(__GLIBCXX_TYPE_INT_N_1) 188 inline __GLIBCXX_TYPE_INT_N_1
189 abs(__GLIBCXX_TYPE_INT_N_1 __x) {
return __x >= 0 ? __x : -__x; }
191 #if defined(__GLIBCXX_TYPE_INT_N_2) 192 inline __GLIBCXX_TYPE_INT_N_2
193 abs(__GLIBCXX_TYPE_INT_N_2 __x) {
return __x >= 0 ? __x : -__x; }
195 #if defined(__GLIBCXX_TYPE_INT_N_3) 196 inline __GLIBCXX_TYPE_INT_N_3
197 abs(__GLIBCXX_TYPE_INT_N_3 __x) {
return __x >= 0 ? __x : -__x; }
201 _GLIBCXX_END_NAMESPACE_VERSION
204 #if _GLIBCXX_USE_C99_STDLIB 215 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
217 _GLIBCXX_BEGIN_NAMESPACE_VERSION
219 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 222 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC 223 extern "C" void (_Exit)(int)
throw () _GLIBCXX_NORETURN;
225 #if !_GLIBCXX_USE_C99_DYNAMIC 229 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 233 div(
long long __n,
long long __d)
234 { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d;
return __q; }
239 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 240 extern "C" long long int (atoll)(
const char *)
throw ();
241 extern "C" long long int
242 (strtoll)(
const char * __restrict,
char ** __restrict, int)
throw ();
243 extern "C" unsigned long long int
244 (strtoull)(
const char * __restrict,
char ** __restrict, int)
throw ();
246 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 254 _GLIBCXX_END_NAMESPACE_VERSION
259 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 260 using ::__gnu_cxx::lldiv_t;
262 using ::__gnu_cxx::_Exit;
263 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 264 using ::__gnu_cxx::llabs;
265 using ::__gnu_cxx::div;
266 using ::__gnu_cxx::lldiv;
268 using ::__gnu_cxx::atoll;
269 using ::__gnu_cxx::strtof;
270 using ::__gnu_cxx::strtoll;
271 using ::__gnu_cxx::strtoull;
272 using ::__gnu_cxx::strtold;
275 #endif // _GLIBCXX_USE_C99_STDLIB 279 #endif // !_GLIBCXX_HOSTED
_Tp abs(const complex< _Tp > &)
Return magnitude of z.
GNU extensions for public use.
ISO C++ entities toplevel namespace is std.