]>
Commit | Line | Data |
---|---|---|
7ee2eb82 TB |
1 | 2012-11-15 Tobias Burnus <burnus@net-b.de> |
2 | Joseph Myers <joseph@codesourcery.com> | |
3 | ||
4 | * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma | |
5 | underflows with small x * y; Fix overflow results | |
6 | outside round-to-nearest mode; make use of Dekker | |
7 | and Knuth algorithms use round-to-nearest. | |
8 | ||
2749bf29 TB |
9 | 2012-11-01 Tobias Burnus <burnus@net-b.de> |
10 | ||
11 | * math/fmaq.c (fmaq): Fix build. | |
12 | ||
e4320d7d TB |
13 | 2012-11-01 Tobias Burnus <burnus@net-b.de> |
14 | Joseph Myers <joseph@codesourcery.com> | |
15 | ||
16 | * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases | |
17 | with small x * y using scaling, not as x * y + z. | |
18 | * math/lgammaq.c (lgammaq): Fix signgam handling. | |
19 | ||
f029f4be TB |
20 | 2012-11-01 Tobias Burnus <burnus@net-b.de> |
21 | ||
22 | * Makefile.am (libquadmath_la_SOURCES): Add new math/* files. | |
23 | * Makefile.in: Regenerated. | |
24 | * math/acoshq.c: Update comment. | |
25 | * math/acosq.c: Ditto. | |
26 | * math/asinhq.c: Ditto. | |
27 | * math/asinq.c: Ditto. | |
28 | * math/atan2q.c: Ditto. | |
29 | * math/atanhq.c: Ditto. | |
30 | * math/ceilq.c: Ditto. | |
31 | * math/copysignq.c: Ditto. | |
32 | * math/cosq.c: Ditto. | |
33 | * math/coshq.c: Ditto. | |
34 | * math/erfq.c: Ditto. | |
35 | * math/fabsq.c: Ditto. | |
36 | * math/finiteq.c: Ditto. | |
37 | * math/floorq.c: Ditto. | |
38 | * math/fmodq.c: Ditto. | |
39 | * math/frexpq.c: Ditto. | |
40 | * math/isnanq.c: Ditto. | |
41 | * math/j0q.c: Ditto. | |
42 | * math/j1q.c: Ditto. | |
43 | * math/ldexpq.c: Ditto. | |
44 | * math/llroundq.c: Ditto. | |
45 | * math/log10q.c: Ditto. | |
46 | * math/log1pq.c: Ditto. | |
47 | * math/log2q.c: Ditto. | |
48 | * math/logq.c: Ditto. | |
49 | * math/lroundq.c: Ditto. | |
50 | * math/modfq.c: Ditto. | |
51 | * math/nextafterq.c: Ditto. | |
52 | * math/powq.c: Ditto. | |
53 | * math/rem_pio2q.c: Ditto. | |
54 | * math/remainderq.c: Ditto. | |
55 | * math/rintq.c: Ditto. | |
56 | * math/roundq.c: Ditto. | |
57 | * math/scalblnq.c: Ditto. | |
58 | * math/scalbnq.c: Ditto. | |
59 | * math/sincosq_kernel.c: Ditto. | |
60 | * math/sinq.c: Ditto. | |
61 | * math/tanq.c: Ditto. | |
62 | * math/expq.c: Ditto. | |
63 | (__expq_table, expq): Renamed local array from __expl_table. | |
64 | * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling. | |
65 | * math/cacoshq.c: Changes from GLIBC; fix returned sign. | |
66 | * math/casinhq.c: Changes from GLIBC to fix special-case. | |
67 | * math/cbrtq.c: Use modified GLIBC version. | |
68 | * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq, | |
69 | ctanhq, ctanq): Moved to separates files. | |
70 | (mult_c128, div_c128): Removed no longer needed functions. | |
71 | (cexpiq): Call sincosq instead of sinq and cosq. | |
72 | (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh. | |
73 | * math/ccoshq.c (ccoshq): New file, moved from complex.c and | |
74 | modified based on GLIBC. | |
75 | * math/cexpq.c (cexp): Ditto. | |
76 | * math/clog10q.c (clog10q): Ditto. | |
77 | * math/clogq.c (clogq): Ditto. | |
78 | * math/csinhq.c: Ditto. | |
79 | * math/csinq.c: Ditto. | |
80 | * math/csqrtq.c: Ditto. | |
81 | * math/ctanhq.c: Ditto. | |
82 | * math/ctanq.c: Ditto. | |
83 | * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling | |
84 | from GLIBC. | |
85 | * math/ilogbq.c (ilogbq): Add errno = EDOM handling. | |
86 | * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported | |
87 | from GLIBC. | |
88 | * math/lgammaq.c (lgammaq): Add signgam handling. | |
89 | * math/sinhq.c (sinhq): Fix sign handling. | |
90 | * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto. | |
91 | * math/tgammaq.c (tgammaq): Ditto. | |
92 | * math/x2y2m1q.c: New file. | |
93 | * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define. | |
94 | (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes. | |
95 | ||
737df6e6 TB |
96 | 2012-10-31 Tobias Burnus <burnus@net-b.de> |
97 | Joseph Myers <joseph@codesourcery.com> | |
98 | David S. Miller <davem@davemloft.net> | |
99 | Ulrich Drepper <drepper@redhat.com> | |
100 | Marek Polacek <polacek@redhat.com>: | |
101 | Petr Baudis <pasky@suse.cz> | |
102 | ||
103 | * math/complex.c (csqrtq): NaN and INF fixes. | |
104 | * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes. | |
105 | * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for | |
106 | large parameters. Fix errno for boundary conditions. | |
107 | * math/finiteq.c (finiteq): Add comment. | |
108 | * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows | |
109 | and bad results for some subnormal results. Fix sign of inexact | |
110 | zero return. Fix sign of exact zero return. | |
111 | Ensure additions are not scheduled after fetestexcept. | |
112 | * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly | |
113 | for ynq. Fix jnq precision. | |
114 | * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not | |
115 | manipulate bits before adding and subtracting TWO112[sx]. | |
116 | * math/rintq.c (rintq): Ditto. | |
117 | * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer | |
118 | overflow. | |
119 | ||
249b09fa DE |
120 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> |
121 | ||
122 | * configure: Regenerated. | |
123 | ||
19af62db BK |
124 | 2012-05-29 Benjamin Kosnik <bkoz@redhat.com> |
125 | ||
126 | PR libstdc++/51007 | |
127 | * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument. | |
128 | * configure: Regenerated. | |
249b09fa | 129 | |
e6d5f8c9 L |
130 | 2012-05-16 H.J. Lu <hongjiu.lu@intel.com> |
131 | ||
132 | * configure: Regenerated. | |
133 | ||
c6084f68 AT |
134 | 2011-11-21 Andreas Tobler <andreast@fgznet.ch> |
135 | ||
136 | * configure: Regenerate. | |
137 | ||
744bbef1 KT |
138 | 2011-11-07 Kai Tietz <ktietz@redhat.com> |
139 | ||
140 | PR target/51007 | |
141 | * quadmath-imp.h (ieee854_float128): Adjust | |
142 | for ms-bitfield layout. | |
143 | ||
f9989b51 RO |
144 | 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
145 | ||
146 | * printf/gmp-impl.h: Adapt path to longlong.h. | |
147 | ||
88cc02ff JM |
148 | 2011-09-21 Joseph Myers <joseph@codesourcery.com> |
149 | ||
150 | * Makefile.am (FLAGS_TO_PASS): Define. | |
151 | * Makefile.in: Regenerate. | |
152 | ||
57044b5a JJ |
153 | 2011-08-01 Jakub Jelinek <jakub@redhat.com> |
154 | ||
155 | * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y | |
156 | conversion for prec 3 and __FLT_EVAL_METHOD__ != 0. | |
157 | ||
1e4eb7bb TB |
158 | 2011-04-03 Tobias Burnus <burnus@net-b.de> |
159 | ||
160 | PR fortran/48311 | |
161 | * libquadmath.texi (strtoflt128): Fix typo. | |
162 | (quadmath_snprintf): Move note up, make @item. | |
163 | ||
cf3b3080 JJ |
164 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
165 | ||
166 | * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of | |
167 | mempcpy. | |
168 | ||
bf382f5f RO |
169 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
170 | ||
171 | PR bootstrap/48135 | |
172 | * configure.ac (quadmath_use_symver): Handle --disable-symvers. | |
173 | * configure: Regenerate. | |
174 | ||
9926de2c JJ |
175 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
176 | ||
177 | * printf/quadmath-printf.c (quadmath_snprintf): Make sure | |
178 | that for size > 0 str is always zero terminated. | |
179 | ||
a3a33a7b JJ |
180 | 2011-02-20 Jakub Jelinek <jakub@redhat.com> |
181 | ||
182 | PR bootstrap/47827 | |
183 | * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf (""). | |
184 | ||
a855debf JJ |
185 | 2011-02-17 Jakub Jelinek <jakub@redhat.com> |
186 | ||
187 | * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP, | |
188 | FLT128_MAX_10_EXP): Document. | |
189 | (strtoflt128): Remove obsolete comment. | |
190 | * configure.ac (HAVE_STRTOULL): New check. | |
191 | * printf/gmp-impl.h (mpn_construct_float128): New prototype, | |
192 | define. | |
193 | * printf/mul_n.c: Include <config.h>. | |
194 | * printf/add_n.c: Likewise. | |
195 | * printf/cmp.c: Likewise. | |
196 | * printf/fpioconst.c: Likewise. | |
197 | * printf/mul_1.c: Likewise. | |
198 | * printf/rshift.c: Likewise. | |
199 | * printf/lshift.c: Likewise. | |
200 | * printf/submul_1.c: Likewise. | |
201 | * printf/sub_n.c: Likewise. | |
202 | * printf/divrem.c: Likewise. | |
203 | * printf/addmul_1.c: Likewise. | |
204 | * printf/mul.c: Likewise. | |
205 | * printf/quadmath-printf.h (isupper, isdigit, tolower): Change | |
206 | to avoid evaluating argument multiple times. | |
207 | (isxdigit): Redefine. | |
208 | * strtod/strtoflt128.c: New file. | |
209 | * strtod/strtod_l.c: New file. | |
210 | * strtod/mpn2flt128.c: New file. | |
211 | * strtod/grouping.h: New file. | |
212 | * strtod/tens_in_limb.c: New file. | |
213 | * gdtoa/arith.h: Removed. | |
214 | * gdtoa/gd_qnan.h: Removed. | |
215 | * gdtoa/gdtoa_fltrnds.h: Removed. | |
216 | * gdtoa/gdtoa.h: Removed. | |
217 | * gdtoa/gdtoaimp.h: Removed. | |
218 | * gdtoa/gethex.c: Removed. | |
219 | * gdtoa/gmisc.c: Removed. | |
220 | * gdtoa/hd_init.c: Removed. | |
221 | * gdtoa/hexnan.c: Removed. | |
222 | * gdtoa/makefile: Removed. | |
223 | * gdtoa/misc.c: Removed. | |
224 | * gdtoa/README.gdtoa: Removed. | |
225 | * gdtoa/smisc.c: Removed. | |
226 | * gdtoa/strtodg.c: Removed. | |
227 | * gdtoa/strtopQ.c: Removed. | |
228 | * gdtoa/sum.c: Removed. | |
229 | * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP): | |
230 | Define. | |
231 | * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add | |
232 | strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c. | |
233 | * config.h.in: Regenerated. | |
234 | * configure: Regenerated. | |
235 | * Makefile.in: Regenerated. | |
236 | ||
d2995f21 JJ |
237 | 2011-02-16 Jakub Jelinek <jakub@redhat.com> |
238 | ||
239 | * printf/quadmath-printf.c: Also check __GLIBC__ when checking | |
240 | whether workarounds for printf hook handling should be added. | |
241 | ||
242 | * configure.ac: Check for locale.h too. | |
243 | (USE_LOCALE_SUPPORT): Remove check. | |
244 | (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks. | |
245 | (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX. | |
246 | * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo | |
247 | or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC | |
248 | for wide version. | |
249 | * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H. | |
250 | * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0. | |
251 | (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow | |
252 | version and nl_langinfo if USE_NL_LANGINFO_WC for wide version. | |
253 | Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with | |
254 | USE_I18N_NUMBER_H #ifdef. | |
255 | * configure: Regenerated. | |
256 | * config.h.in: Regenerated. | |
257 | ||
1d92226b JJ |
258 | 2011-02-14 Jakub Jelinek <jakub@redhat.com> |
259 | ||
12967872 JJ |
260 | PR bootstrap/47736 |
261 | * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has | |
262 | user field. | |
263 | * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info | |
264 | field instead of setting individual fields to 0. Don't set info.user | |
265 | to -1. | |
266 | * configure: Regenerated. | |
267 | ||
49f0e1ba JJ |
268 | * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS. |
269 | * printf/printf_fp.c: Don't include <alloca.h>. | |
270 | * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa. | |
271 | * configure: Regenerated. | |
272 | ||
1d92226b JJ |
273 | PR fortran/47642 |
274 | * libquadmath.texi (quadmath_snprintf): Document. | |
275 | (quadmath_flt128tostr): Remove. | |
276 | * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c. | |
277 | Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c, | |
278 | gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c. | |
279 | * quadmath.h (quadmath_snprintf): New prototype. | |
280 | (quadmath_flt128tostr): Remove. | |
281 | * quadmath_weak.h (quadmath_snprintf): Add. | |
282 | (quadmath_flt128tostr): Remove. | |
283 | * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h, | |
284 | wctype.h, limits.h, ctype.h, printf.h, errno.h. | |
285 | (AC_USE_SYSTEM_EXTENSIONS): Add. | |
286 | (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS, | |
287 | USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks. | |
288 | * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove | |
289 | quadmath_flt128tostr. | |
290 | * printf/printf_fphex.c: New file. | |
291 | * printf/_itowa.h: New file. | |
292 | * printf/mul_n.c: New file. | |
293 | * printf/quadmath-printf.h: New file. | |
294 | * printf/submul_1.c: New file. | |
295 | * printf/quadmath-printf.c: New file. | |
296 | * printf/gmp-impl.h: New file. | |
297 | * printf/lshift.c: New file. | |
298 | * printf/fpioconst.h: New file. | |
299 | * printf/add_n.c: New file. | |
300 | * printf/cmp.c: New file. | |
301 | * printf/sub_n.c: New file. | |
302 | * printf/mul.c: New file. | |
303 | * printf/divrem.c: New file. | |
304 | * printf/addmul_1.c: New file. | |
305 | * printf/printf_fp.c: New file. | |
306 | * printf/_itoa.h: New file. | |
307 | * printf/fpioconst.c: New file. | |
308 | * printf/_i18n_number.h: New file. | |
309 | * printf/flt1282mpn.c: New file. | |
310 | * printf/rshift.c: New file. | |
311 | * printf/mul_1.c: New file. | |
312 | * quadmath_io.c: Removed. | |
313 | * gdtoa/gdtoa.c: Removed. | |
314 | * gdtoa/g__fmt.c: Removed. | |
315 | * gdtoa/g_Qfmt.c: Removed. | |
316 | * gdtoa/dmisc.c: Removed. | |
317 | * gdtoa/ulp.c: Removed. | |
318 | * config.h.in: Regenerated. | |
319 | * configure: Regenerated. | |
320 | * Makefile.in: Regenerated. | |
321 | ||
029c8f3e RW |
322 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
323 | ||
324 | * Makefile.in: Regenerate. | |
325 | * aclocal.m4: Likewise. | |
326 | * configure: Likewise. | |
327 | ||
21ac7f65 JD |
328 | 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
329 | ||
330 | PR libquadmath/47293 | |
331 | * gdtoa/qd_qnan.h: Fix NAN bit patterns. | |
332 | * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN. | |
333 | ||
0ecf8f66 TB |
334 | 2011-01-17 Tobias Burnus <burnus@net-b.de> |
335 | ||
336 | PR fortran/47295 | |
337 | * libquadmath.text: Document typedef and constants. | |
338 | ||
b5d4b580 TB |
339 | 2011-01-17 Tobias Burnus <burnus@net-b.de> |
340 | ||
341 | PR fortran/46817 | |
342 | * quadmath-imp.h: Refer to libquadmath not ot libiberty, | |
343 | bump copyright year and use /**/ instead of // comments. | |
344 | * quadmath.h: Ditto. | |
345 | * quadmath-weak.h: Ditto. | |
346 | * quadmath_io.c: Ditto. | |
347 | ||
e8d42d28 JJ |
348 | 2011-01-16 Jakub Jelinek <jakub@redhat.com> |
349 | ||
d6713cb8 JJ |
350 | PR libfortran/47322 |
351 | * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t. | |
352 | ||
e313241f JJ |
353 | PR fortran/46625 |
354 | * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ | |
355 | and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr. | |
356 | * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove. | |
357 | (strtoflt128, quadmath_flt128tostr): Add. | |
358 | * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to... | |
359 | (strtoflt128): ... this. Return __float128, instead of writing | |
360 | to memory pointed by last argument. | |
361 | * quadmath.h: Use C style comments instead of C++ style. | |
362 | (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes. | |
363 | (strtoflt128, quadmath_flt128tostr): Add prototypes. | |
364 | * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr. | |
365 | (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype, | |
366 | adjust examples. | |
367 | * quadmath_io.c (quadmath_dtoaq): Rename to... | |
368 | (quadmath_flt128tostr): ... this. | |
369 | ||
327f73c1 JJ |
370 | * quadmath.h (__quadmath_throw, __quadmath_nth): Define. |
371 | Use it for all prototypes. | |
372 | ||
dbc9f6c6 JJ |
373 | PR fortran/46416 |
374 | * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove | |
375 | const from prototype argument. | |
376 | (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq, | |
377 | llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes. | |
378 | (__quadmath_extern_inline): Define. | |
379 | (cimagq, conjq, crealq): New inlines. | |
380 | * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c, | |
381 | math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c, | |
382 | math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c, | |
383 | math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c. | |
384 | * Makefile.in: Regenerated. | |
385 | * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, | |
386 | fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add. | |
387 | * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define. | |
388 | (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__ | |
389 | tests instead of __BIG_ENDIAN__. | |
390 | * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq, | |
391 | fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq | |
392 | and remquoq. | |
393 | * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, | |
394 | fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add. | |
395 | * math/cprojq.c: New file. | |
396 | * math/ilogbq.c: New file. | |
397 | * math/fminq.c: New file. | |
398 | * math/llrintq.c: New file. | |
399 | * math/log2q.c: New file. | |
400 | * math/lrintq.c: New file. | |
401 | * math/crealq.c: New file. | |
402 | * math/nearbyintq.c: New file. | |
403 | * math/fmaxq.c: New file. | |
404 | * math/conjq.c: New file. | |
405 | * math/remquoq.c: New file. | |
406 | * math/cimagq.c: New file. | |
407 | * math/fdimq.c: New file. | |
408 | ||
409 | * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed. | |
410 | ||
fa23b182 JJ |
411 | PR fortran/46416 |
412 | * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq): | |
413 | New prototypes. | |
414 | (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q, | |
415 | M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define. | |
416 | * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq, | |
417 | catanhq): Add. | |
418 | * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE, | |
419 | QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define. | |
420 | * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq, | |
421 | catanq and catanhq. | |
422 | * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c, | |
423 | math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c | |
424 | and math/catanhq.c. | |
425 | * Makefile.in: Regenerated. | |
426 | * libquadmath.texi (cacosq, cacoshq, casinq, casinhq, | |
427 | catanq, catanhq): Add. | |
428 | * math/cacoshq.c: New file. | |
429 | * math/cacosq.c: New file. | |
430 | * math/catanq.c: New file. | |
431 | * math/catanhq.c: New file. | |
432 | * math/casinq.c: New file. | |
433 | * math/casinhq.c: New file. | |
434 | ||
435 | * math/hypotq.c (hypotq): Use Q suffix instead of L. | |
436 | * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise. | |
437 | * math/cosq.c (cosq): Likewise. | |
438 | ||
e8d42d28 JJ |
439 | PR fortran/46402 |
440 | * quadmath.map (QUADMATH_1.0): Add fmaq. | |
441 | * configure.ac: Check for fenv.h, feholdexcept, fesetround, | |
442 | feupdateenv, fesetenv and fetestexcept. | |
443 | * configure: Regenerated. | |
444 | * config.h.in: Regenerated. | |
445 | * quadmath.h (fmaq): New prototype. | |
446 | * quadmath_weak.h (fmaq): Add. | |
447 | * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c. | |
448 | * Makefile.in: Regenerated. | |
449 | * quadmath-imp.h: Include config.h. | |
450 | * math/expq.c: Include fenv.h. | |
451 | (USE_FENV_H): Define if libm support for fe* is there. | |
452 | (expq): Add fesetround etc. support if USE_FENV_H is defined. | |
453 | * math/fmaq.c: New file. | |
454 | * libquadmath.texi (fmaq): Add. | |
455 | ||
642d2873 TB |
456 | 2011-01-14 Tobias Burnus <burnus@net-b.de> |
457 | ||
458 | PR fortran/47182 | |
459 | * configure.ac: Use ACX_BUGURL. | |
460 | * libquadmath.texi: Include libquadmath-vers.texi for BUGURL. | |
461 | * Makefile.am: Create libquadmath-vers.texi. | |
462 | * configure.in: Regenerate. | |
463 | * Makefile.in: Regenerate. | |
464 | ||
a6098a28 RW |
465 | 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
466 | ||
467 | PR fortran/47174 | |
468 | * Makefile.am (libquadmath.info): Unconditionally override | |
469 | target, not only if BUILD_LIBQUADMATH. | |
470 | * Makefile.in: Regenerate. | |
471 | * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to | |
472 | avoid warning from automake. | |
473 | ||
6f468984 TB |
474 | 2010-12-19 Tobias Burnus <burnus@net-b.de> |
475 | ||
476 | PR fortran/46520 | |
477 | * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link. | |
478 | * configure: Regenerate | |
479 | ||
f0c2df63 TB |
480 | 2010-12-13 Tobias Burnus <burnus@net-b.de> |
481 | ||
482 | PR fortran/46625 | |
483 | * gdtoa/gdtoaimp.h: Mangle internal functions by | |
484 | prefixing them with __quadmath. Don't use gdtoa's strcp(y). | |
485 | * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp. | |
486 | * gdtoa/misc.c (strcpy): Renamed from strcp and only use | |
487 | if NO_STRING_H is set. | |
488 | * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq | |
489 | __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added | |
490 | __quadmath prefix to internal functions. | |
491 | * math/cosq.c (cosq): Ditto. | |
492 | * math/sinq.c (cosq): Ditto. | |
493 | * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto. | |
494 | * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto. | |
495 | * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto. | |
496 | * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto. | |
497 | ||
09c2d63a TB |
498 | 2010-12-08 Tobias Burnus <burnus@net-b.de> |
499 | ||
500 | PR fortran/46772 | |
501 | * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod. | |
502 | * gdtoa/gdtoaimp.h: Don't declare strtod. | |
503 | ||
abccc9a9 TB |
504 | 2010-12-08 Tobias Burnus <burnus@net-b.de> |
505 | ||
506 | PR fortran/46520 | |
507 | * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of | |
508 | AC_TRY_LINK and cache libquad_have_float128. | |
509 | * configure: Regenerate. | |
510 | ||
4c993c44 TB |
511 | 2010-12-08 Tobias Burnus <burnus@net-b.de> |
512 | ||
513 | PR fortran/46543 | |
514 | * configure.ac: Add texinfo checks. | |
515 | * Makefile.am: Handle .texi documentation. | |
516 | * libquadmath.texi: New. | |
517 | * configure: Regenerated. | |
518 | * Makefile.in: Regenerated. | |
519 | ||
545a5cb6 TB |
520 | 2010-12-06 Tobias Burnus <burnus@net-b.de> |
521 | ||
522 | PR fortran/46817 | |
523 | * quadmath-imp.h: Add LGPL header. | |
524 | * quadmath.h: Add LGPL header. | |
525 | * quadmath_io.c: Add LGPL header. | |
526 | * quadmath_weak.h: Add LGPL header. | |
527 | ||
7de6ba7a DK |
528 | 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> |
529 | ||
530 | PR target/40125 | |
531 | PR lto/46695 | |
532 | * configure.ac: Invoke ACX_LT_HOST_FLAGS. | |
533 | * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags. | |
534 | * aclocal.m4: Regenerate. | |
535 | * configure: Regenerate. | |
536 | * Makefile.in: Regenerate. | |
537 | ||
375a39e2 TB |
538 | 2010-11-30 Tobias Burnus <burnus@net-b.de> |
539 | ||
540 | PR fortran/46594 | |
541 | * Makefile.am: Install include files in | |
542 | target/version specific directory. | |
543 | * Makefile.in: Regenerate. | |
544 | ||
70d94de7 TB |
545 | 2010-11-30 Tobias Burnus <burnus@net-b.de> |
546 | ||
547 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS, | |
548 | LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY, | |
549 | LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove. | |
550 | ||
fabfcf5e KT |
551 | 2010-11-29 Kai Tietz <kai.tietz@onevision.com> |
552 | ||
553 | * configure: Regenerated. | |
554 | * Makefile.in: Regenerated. | |
555 | * configure.ac (ACX_NONCANONICAL_TARGET): Call it. | |
556 | (target_alias): Use AC_SUBST for it. | |
557 | (GCC_NO_EXECUTABLES): Call it. | |
558 | (AC_PROG_CC): Improve multilib handling. | |
559 | Check that gcc is used for compilation. | |
560 | Use pattern from libssp for symbol versioning checking. | |
561 | * Makefile.am (LTLDFLAGS): Removed. | |
562 | (libquadmath_la_LDFLAGS): Add -no-undefined. | |
563 | (libquadmath_la_LINK): Commented out. | |
564 | (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD. | |
565 | (AM_MAKEFLAGS): Add hack for argument passing by top-level. | |
566 | (MAKEOVERRIDES): New. | |
567 | * aclocal.m4: Regenerated. | |
568 | ||
4144e658 RO |
569 | 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
570 | ||
571 | * Makefile.am (libquadmath_la_LIBADD): Move -lm ... | |
572 | (libquadmath_la_LDFLAGS): ... here. | |
573 | (quadmath.map-sun): Tabify. | |
574 | Fix sed expression. | |
575 | * Makefile.in: Regenerate. | |
576 | ||
1ec601bf FXC |
577 | 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
578 | Tobias Burnus <burnus@net-b.de> | |
579 | ||
580 | PR fortran/32049 | |
581 | Initial implementation and checkin. |