source: Daodan/MinGW/lib/gcc/mingw32/5.3.0/include/quadmath_weak.h@ 1063

Last change on this file since 1063 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 3.1 KB
RevLine 
[1046]1/* GCC Quad-Precision Math Library
2 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
3 Written by Tobias Burnus <burnus@net-b.de>
4
5This file is part of the libquadmath library.
6Libquadmath is free software; you can redistribute it and/or
7modify it under the terms of the GNU Library General Public
8License as published by the Free Software Foundation; either
9version 2 of the License, or (at your option) any later version.
10
11Libquadmath is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14Library General Public License for more details.
15
16You should have received a copy of the GNU Library General Public
17License along with libquadmath; see the file COPYING.LIB. If
18not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
19Boston, MA 02110-1301, USA. */
20
21#ifndef QUADMATH_WEAK_H
22#define QUADMATH_WEAK_H
23
24#include "quadmath.h"
25
26#if SUPPORTS_WEAK
27# define __qmath2(name,name2,type) \
28 static __typeof(type) name __attribute__ ((__weakref__(#name2)));
29# define __qmath_(name) __qmath_ ## name
30#else
31# define __qmath2(name,name2,type)
32# define __qmath_(name) name
33#endif
34
35/* __qmath_foo is a weak reference to symbol foo. */
36#define __qmath3(name) __qmath2(__qmath_ ## name,name,name)
37
38/* Prototypes for real functions. */
39__qmath3 (acosq)
40__qmath3 (acoshq)
41__qmath3 (asinq)
42__qmath3 (asinhq)
43__qmath3 (atanq)
44__qmath3 (atanhq)
45__qmath3 (atan2q)
46__qmath3 (cbrtq)
47__qmath3 (ceilq)
48__qmath3 (copysignq)
49__qmath3 (coshq)
50__qmath3 (cosq)
51__qmath3 (erfq)
52__qmath3 (erfcq)
53__qmath3 (expq)
54__qmath3 (expm1q)
55__qmath3 (fabsq)
56__qmath3 (fdimq)
57__qmath3 (finiteq)
58__qmath3 (floorq)
59__qmath3 (fmaq)
60__qmath3 (fmaxq)
61__qmath3 (fminq)
62__qmath3 (fmodq)
63__qmath3 (frexpq)
64__qmath3 (hypotq)
65__qmath3 (ilogbq)
66__qmath3 (isinfq)
67__qmath3 (isnanq)
68__qmath3 (j0q)
69__qmath3 (j1q)
70__qmath3 (jnq)
71__qmath3 (ldexpq)
72__qmath3 (lgammaq)
73__qmath3 (llrintq)
74__qmath3 (llroundq)
75__qmath3 (logq)
76__qmath3 (log10q)
77__qmath3 (log1pq)
78__qmath3 (log2q)
79__qmath3 (lrintq)
80__qmath3 (lroundq)
81__qmath3 (modfq)
82__qmath3 (nanq)
83__qmath3 (nearbyintq)
84__qmath3 (nextafterq)
85__qmath3 (powq)
86__qmath3 (remainderq)
87__qmath3 (remquoq)
88__qmath3 (rintq)
89__qmath3 (roundq)
90__qmath3 (scalblnq)
91__qmath3 (scalbnq)
92__qmath3 (signbitq)
93__qmath3 (sincosq)
94__qmath3 (sinhq)
95__qmath3 (sinq)
96__qmath3 (sqrtq)
97__qmath3 (tanq)
98__qmath3 (tanhq)
99__qmath3 (tgammaq)
100__qmath3 (truncq)
101__qmath3 (y0q)
102__qmath3 (y1q)
103__qmath3 (ynq)
104
105
106/* Prototypes for complex functions. */
107__qmath3 (cabsq)
108__qmath3 (cargq)
109__qmath3 (cimagq)
110__qmath3 (crealq)
111__qmath3 (cacosq)
112__qmath3 (cacoshq)
113__qmath3 (casinq)
114__qmath3 (casinhq)
115__qmath3 (catanq)
116__qmath3 (catanhq)
117__qmath3 (ccosq)
118__qmath3 (ccoshq)
119__qmath3 (cexpq)
120__qmath3 (cexpiq)
121__qmath3 (clogq)
122__qmath3 (clog10q)
123__qmath3 (conjq)
124__qmath3 (cpowq)
125__qmath3 (cprojq)
126__qmath3 (csinq)
127__qmath3 (csinhq)
128__qmath3 (csqrtq)
129__qmath3 (ctanq)
130__qmath3 (ctanhq)
131
132
133/* Prototypes for string <-> flt128 conversion functions. */
134__qmath3 (strtoflt128)
135__qmath3 (quadmath_snprintf)
136
137#endif
Note: See TracBrowser for help on using the repository browser.