41 #pragma GCC system_header
45 #ifndef _GLIBCXX_CSTDLIB
46 #define _GLIBCXX_CSTDLIB 1
54 #define EXIT_SUCCESS 0
55 #define EXIT_FAILURE 1
59 extern "C" void abort(
void) throw () _GLIBCXX_NORETURN;
60 extern "C"
int atexit(
void (*)()) throw ();
61 extern "C"
void exit(
int) throw () _GLIBCXX_NORETURN;
98 namespace std _GLIBCXX_VISIBILITY(default)
100 _GLIBCXX_BEGIN_NAMESPACE_VERSION
120 #ifdef _GLIBCXX_HAVE_MBSTATE_T
124 #endif // _GLIBCXX_HAVE_MBSTATE_T
133 #ifdef _GLIBCXX_USE_WCHAR_T
136 #endif // _GLIBCXX_USE_WCHAR_T
139 abs(
long __i) {
return labs(__i); }
142 div(
long __i,
long __j) {
return ldiv(__i, __j); }
144 _GLIBCXX_END_NAMESPACE_VERSION
158 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
160 _GLIBCXX_BEGIN_NAMESPACE_VERSION
162 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
165 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
166 extern "C" void (_Exit)(int)
throw () _GLIBCXX_NORETURN;
168 #if !_GLIBCXX_USE_C99_DYNAMIC
173 abs(
long long __x) {
return __x >= 0 ? __x : -__x; }
175 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
179 div(
long long __n,
long long __d)
180 { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d;
return __q; }
185 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
186 extern "C" long long int (atoll)(
const char *)
throw ();
187 extern "C" long long int
188 (strtoll)(
const char * __restrict,
char ** __restrict, int)
throw ();
189 extern "C" unsigned long long int
190 (strtoull)(
const char * __restrict,
char ** __restrict, int)
throw ();
192 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
200 _GLIBCXX_END_NAMESPACE_VERSION
205 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
206 using ::__gnu_cxx::lldiv_t;
208 using ::__gnu_cxx::_Exit;
210 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
211 using ::__gnu_cxx::llabs;
212 using ::__gnu_cxx::div;
213 using ::__gnu_cxx::lldiv;
215 using ::__gnu_cxx::atoll;
216 using ::__gnu_cxx::strtof;
217 using ::__gnu_cxx::strtoll;
218 using ::__gnu_cxx::strtoull;
219 using ::__gnu_cxx::strtold;
222 #ifdef __GXX_EXPERIMENTAL_CXX0X__
226 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
244 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
249 #endif // __GXX_EXPERIMENTAL_CXX0X__
251 #endif // _GLIBCXX_USE_C99
253 #endif // !_GLIBCXX_HOSTED
_Tp abs(const complex< _Tp > &)
Return magnitude of z.