quadmath.h (__quadmath_throw, [...]): Define.
[gcc.git] / libquadmath / ChangeLog
1 2011-01-16 Jakub Jelinek <jakub@redhat.com>
2
3 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
4 Use it for all prototypes.
5
6 PR fortran/46416
7 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
8 const from prototype argument.
9 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
10 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
11 (__quadmath_extern_inline): Define.
12 (cimagq, conjq, crealq): New inlines.
13 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
14 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
15 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
16 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
17 * Makefile.in: Regenerated.
18 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
19 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
20 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
21 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
22 tests instead of __BIG_ENDIAN__.
23 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
24 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
25 and remquoq.
26 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
27 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
28 * math/cprojq.c: New file.
29 * math/ilogbq.c: New file.
30 * math/fminq.c: New file.
31 * math/llrintq.c: New file.
32 * math/log2q.c: New file.
33 * math/lrintq.c: New file.
34 * math/crealq.c: New file.
35 * math/nearbyintq.c: New file.
36 * math/fmaxq.c: New file.
37 * math/conjq.c: New file.
38 * math/remquoq.c: New file.
39 * math/cimagq.c: New file.
40 * math/fdimq.c: New file.
41
42 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
43
44 PR fortran/46416
45 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
46 New prototypes.
47 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
48 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
49 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
50 catanhq): Add.
51 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
52 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
53 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
54 catanq and catanhq.
55 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
56 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
57 and math/catanhq.c.
58 * Makefile.in: Regenerated.
59 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
60 catanq, catanhq): Add.
61 * math/cacoshq.c: New file.
62 * math/cacosq.c: New file.
63 * math/catanq.c: New file.
64 * math/catanhq.c: New file.
65 * math/casinq.c: New file.
66 * math/casinhq.c: New file.
67
68 * math/hypotq.c (hypotq): Use Q suffix instead of L.
69 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
70 * math/cosq.c (cosq): Likewise.
71
72 PR fortran/46402
73 * quadmath.map (QUADMATH_1.0): Add fmaq.
74 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
75 feupdateenv, fesetenv and fetestexcept.
76 * configure: Regenerated.
77 * config.h.in: Regenerated.
78 * quadmath.h (fmaq): New prototype.
79 * quadmath_weak.h (fmaq): Add.
80 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
81 * Makefile.in: Regenerated.
82 * quadmath-imp.h: Include config.h.
83 * math/expq.c: Include fenv.h.
84 (USE_FENV_H): Define if libm support for fe* is there.
85 (expq): Add fesetround etc. support if USE_FENV_H is defined.
86 * math/fmaq.c: New file.
87 * libquadmath.texi (fmaq): Add.
88
89 2011-01-14 Tobias Burnus <burnus@net-b.de>
90
91 PR fortran/47182
92 * configure.ac: Use ACX_BUGURL.
93 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
94 * Makefile.am: Create libquadmath-vers.texi.
95 * configure.in: Regenerate.
96 * Makefile.in: Regenerate.
97
98 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
99
100 PR fortran/47174
101 * Makefile.am (libquadmath.info): Unconditionally override
102 target, not only if BUILD_LIBQUADMATH.
103 * Makefile.in: Regenerate.
104 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
105 avoid warning from automake.
106
107 2010-12-19 Tobias Burnus <burnus@net-b.de>
108
109 PR fortran/46520
110 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
111 * configure: Regenerate
112
113 2010-12-13 Tobias Burnus <burnus@net-b.de>
114
115 PR fortran/46625
116 * gdtoa/gdtoaimp.h: Mangle internal functions by
117 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
118 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
119 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
120 if NO_STRING_H is set.
121 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
122 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
123 __quadmath prefix to internal functions.
124 * math/cosq.c (cosq): Ditto.
125 * math/sinq.c (cosq): Ditto.
126 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
127 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
128 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
129 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
130
131 2010-12-08 Tobias Burnus <burnus@net-b.de>
132
133 PR fortran/46772
134 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
135 * gdtoa/gdtoaimp.h: Don't declare strtod.
136
137 2010-12-08 Tobias Burnus <burnus@net-b.de>
138
139 PR fortran/46520
140 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
141 AC_TRY_LINK and cache libquad_have_float128.
142 * configure: Regenerate.
143
144 2010-12-08 Tobias Burnus <burnus@net-b.de>
145
146 PR fortran/46543
147 * configure.ac: Add texinfo checks.
148 * Makefile.am: Handle .texi documentation.
149 * libquadmath.texi: New.
150 * configure: Regenerated.
151 * Makefile.in: Regenerated.
152
153 2010-12-06 Tobias Burnus <burnus@net-b.de>
154
155 PR fortran/46817
156 * quadmath-imp.h: Add LGPL header.
157 * quadmath.h: Add LGPL header.
158 * quadmath_io.c: Add LGPL header.
159 * quadmath_weak.h: Add LGPL header.
160
161 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
162
163 PR target/40125
164 PR lto/46695
165 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
166 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
167 * aclocal.m4: Regenerate.
168 * configure: Regenerate.
169 * Makefile.in: Regenerate.
170
171 2010-11-30 Tobias Burnus <burnus@net-b.de>
172
173 PR fortran/46594
174 * Makefile.am: Install include files in
175 target/version specific directory.
176 * Makefile.in: Regenerate.
177
178 2010-11-30 Tobias Burnus <burnus@net-b.de>
179
180 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
181 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
182 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
183
184 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
185
186 * configure: Regenerated.
187 * Makefile.in: Regenerated.
188 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
189 (target_alias): Use AC_SUBST for it.
190 (GCC_NO_EXECUTABLES): Call it.
191 (AC_PROG_CC): Improve multilib handling.
192 Check that gcc is used for compilation.
193 Use pattern from libssp for symbol versioning checking.
194 * Makefile.am (LTLDFLAGS): Removed.
195 (libquadmath_la_LDFLAGS): Add -no-undefined.
196 (libquadmath_la_LINK): Commented out.
197 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
198 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
199 (MAKEOVERRIDES): New.
200 * aclocal.m4: Regenerated.
201
202 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
203
204 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
205 (libquadmath_la_LDFLAGS): ... here.
206 (quadmath.map-sun): Tabify.
207 Fix sed expression.
208 * Makefile.in: Regenerate.
209
210 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
211 Tobias Burnus <burnus@net-b.de>
212
213 PR fortran/32049
214 Initial implementation and checkin.