[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 |
|
---|
| 5 | This file is part of the libquadmath library.
|
---|
| 6 | Libquadmath is free software; you can redistribute it and/or
|
---|
| 7 | modify it under the terms of the GNU Library General Public
|
---|
| 8 | License as published by the Free Software Foundation; either
|
---|
| 9 | version 2 of the License, or (at your option) any later version.
|
---|
| 10 |
|
---|
| 11 | Libquadmath is distributed in the hope that it will be useful,
|
---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 14 | Library General Public License for more details.
|
---|
| 15 |
|
---|
| 16 | You should have received a copy of the GNU Library General Public
|
---|
| 17 | License along with libquadmath; see the file COPYING.LIB. If
|
---|
| 18 | not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
|
---|
| 19 | Boston, 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
|
---|