Debian Codegraph @

clang/test/Headers/Inputs/include/cstdlib

raw
1 #pragma once
2
3 #include <stdlib.h>
4
5 #if __cplusplus >= 201703L
6 extern int abs (int __x) throw() __attribute__ ((__const__)) ;
7 extern long int labs (long int __x) throw() __attribute__ ((__const__)) ;
8 #else
9 extern int abs (int __x) __attribute__ ((__const__)) ;
10 extern long int labs (long int __x) __attribute__ ((__const__)) ;
11 #endif
12
13 namespace std
14 {
15
16 using ::abs;
17
18 inline long
19 abs(long __i) { return __builtin_labs(__i); }
20
21 inline long long
22 abs(long long __x) { return __builtin_llabs (__x); }
23
24 float fabs(float __x) { return __builtin_fabs(__x); }
25
26 float abs(float __x) { return fabs(__x); }
27 double abs(double __x) { return fabs(__x); }
28
29 using ::malloc;
30 using ::free;
31 }
32