OSDN Git Service

2010-11-30 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git] / libquadmath / quadmath_weak.h
1 #ifndef QUADMATH_WEAK_H
2 #define QUADMATH_WEAK_H
3
4 #include "quadmath.h"
5
6 #if SUPPORTS_WEAK
7 # define __qmath2(name,name2,type) \
8   static __typeof(type) name __attribute__ ((__weakref__(#name2)));
9 # define __qmath_(name) __qmath_ ## name
10 #else
11 # define __qmath2(name,name2,type)
12 # define __qmath_(name) name
13 #endif
14
15 /* __qmath_foo is a weak reference to symbol foo.  */
16 #define __qmath3(name) __qmath2(__qmath_ ## name,name,name)
17
18 // Prototypes for real functions
19 __qmath3 (acosq)
20 __qmath3 (acoshq)
21 __qmath3 (asinq)
22 __qmath3 (asinhq)
23 __qmath3 (atanq)
24 __qmath3 (atanhq)
25 __qmath3 (atan2q)
26 __qmath3 (cbrtq)
27 __qmath3 (ceilq)
28 __qmath3 (copysignq)
29 __qmath3 (coshq)
30 __qmath3 (cosq)
31 __qmath3 (erfq)
32 __qmath3 (erfcq)
33 __qmath3 (expq)
34 __qmath3 (expm1q)
35 __qmath3 (fabsq)
36 __qmath3 (finiteq)
37 __qmath3 (floorq)
38 __qmath3 (fmodq)
39 __qmath3 (frexpq)
40 __qmath3 (hypotq)
41 __qmath3 (isinfq)
42 __qmath3 (isnanq)
43 __qmath3 (j0q)
44 __qmath3 (j1q)
45 __qmath3 (jnq)
46 __qmath3 (ldexpq)
47 __qmath3 (lgammaq)
48 __qmath3 (llroundq)
49 __qmath3 (logq)
50 __qmath3 (log10q)
51 __qmath3 (log1pq)
52 __qmath3 (lroundq)
53 __qmath3 (modfq)
54 __qmath3 (nanq)
55 __qmath3 (nextafterq)
56 __qmath3 (powq)
57 __qmath3 (remainderq)
58 __qmath3 (rintq)
59 __qmath3 (roundq)
60 __qmath3 (scalblnq)
61 __qmath3 (scalbnq)
62 __qmath3 (signbitq)
63 __qmath3 (sincosq)
64 __qmath3 (sinhq)
65 __qmath3 (sinq)
66 __qmath3 (sqrtq)
67 __qmath3 (tanq)
68 __qmath3 (tanhq)
69 __qmath3 (tgammaq)
70 __qmath3 (truncq)
71 __qmath3 (y0q)
72 __qmath3 (y1q)
73 __qmath3 (ynq)
74
75
76 // Prototypes for complex functions
77 __qmath3 (cabsq)
78 __qmath3 (cargq)
79 __qmath3 (ccosq)
80 __qmath3 (ccoshq)
81 __qmath3 (cexpq)
82 __qmath3 (cexpiq)
83 __qmath3 (clogq)
84 __qmath3 (clog10q)
85 __qmath3 (cpowq)
86 __qmath3 (csinq)
87 __qmath3 (csinhq)
88 __qmath3 (csqrtq)
89 __qmath3 (ctanq)
90 __qmath3 (ctanhq)
91
92
93 // Prototypes for our I/O functions
94 __qmath3 (quadmath_strtopQ)
95 __qmath3 (quadmath_dtoaq)
96
97 #endif