hppa: Fix bug in atomic_storedi_1 pattern
[official-gcc.git] / libquadmath / ChangeLog
blob43ad9df3b1831d6b7ebbe1a52b0a2a6376837f8c
1 2024-01-03  Jakub Jelinek  <jakub@redhat.com>
3         * libquadmath.texi: Bump @copying's copyright year.
5 2023-12-22  Christophe Lyon  <christophe.lyon@linaro.org>
7         * Makefile.am: Allow overriding EXEPCT.
8         * Makefile.in: Regenerate.
10 2023-12-12  Jakub Jelinek  <jakub@redhat.com>
12         PR libquadmath/112963
13         * configure.ac (LIBM): Readd AC_CHECK_LIBM-like check without doing
14         AC_CHECK_LIB in it.
15         * configure: Regenerated.
16         * Makefile.in: Regenerated.
18 2023-10-23  Iain Sandoe  <iain@sandoe.co.uk>
20         PR libquadmath/111928
21         * Makefile.in: Regenerate.
22         * configure: Regenerate.
23         * configure.ac: Remove AC_CHECK_LIBM.
25 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
27         * Makefile.am: Handle Darwin rpaths.
28         * Makefile.in: Regenerate.
29         * configure: Regenerate.
30         * configure.ac: Handle Darwin rpaths.
32 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
34         * configure: Regenerate.
36 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
38         * configure: Regenerate.
40 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
42         * configure: Regenerate.
44 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
46         * configure: Regenerate.
48 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
50         * configure: Regenerate.
52 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
54         * configure: Regenerate.
56 2023-03-02  niXman  <i.nixman@autistici.org>
57             Jakub Jelinek  <jakub@redhat.com>
59         PR libquadmath/87204
60         PR libquadmath/94756
61         * printf/gmp-impl.h (mp_limb_t, mp_limb_signed_t, BITS_PER_MP_LIMB):
62         Use 64-bit limbs on LLP64 targets.
63         * strtod/strtod_l.c (round_and_return): Cherry-pick glibc
64         9310c284ae9 BZ #16151, 4406c41c1d6 BZ #16965 and fcd6b5ac36a
65         BZ #23279 fixes.
66         (____STRTOF_INTERNAL): Cherry-pick glibc b0debe14fcf BZ #23007,
67         5556d30caee BZ #18247, 09555b9721d and c6aac3bf366 BZ #26137 and
68         d84f25c7d87 fixes.
70 2023-01-02  Jakub Jelinek  <jakub@redhat.com>
72         * libquadmath.texi: Bump @copying's copyright year.
74 2022-11-14  Martin Liska  <mliska@suse.cz>
76         Revert:
77         2022-11-14  Martin Liska  <mliska@suse.cz>
79         * doc/conf.py: New file.
80         * doc/copyright.rst: New file.
81         * doc/gnu-free-documentation-license.rst: New file.
82         * doc/i-o-library-routines.rst: New file.
83         * doc/index.rst: New file.
84         * doc/indices-and-tables.rst: New file.
85         * doc/introduction.rst: New file.
86         * doc/math-library-routines.rst: New file.
87         * doc/quadmathsnprintf.rst: New file.
88         * doc/reporting-bugs.rst: New file.
89         * doc/strtoflt128.rst: New file.
90         * doc/typedef-and-constants.rst: New file.
92 2022-11-14  Martin Liska  <mliska@suse.cz>
94         Revert:
95         2022-11-14  Martin Liska  <mliska@suse.cz>
97         * Makefile.in: Support Sphinx based documentation.
99 2022-11-14  Martin Liska  <mliska@suse.cz>
101         Revert:
102         2022-11-14  Martin Liska  <mliska@suse.cz>
104         * libquadmath.texi: Removed.
106 2022-11-14  Martin Liska  <mliska@suse.cz>
108         Revert:
109         2022-11-14  Martin Liska  <mliska@suse.cz>
111         * Makefile.in: Support --with-sphinx-build.
112         * configure.ac: Likewise.
113         * configure: Regenerate.
115 2022-11-14  Martin Liska  <mliska@suse.cz>
117         Revert:
118         2022-11-14  Martin Liska  <mliska@suse.cz>
120         * Makefile.in: Build info pages conditionally.
122 2022-11-14  Martin Liska  <mliska@suse.cz>
124         Revert:
125         2022-11-14  Martin Liska  <mliska@suse.cz>
127         * doc/copyright.rst:
128         Add trailing newline.
129         * doc/gnu-free-documentation-license.rst:
130         Add trailing newline.
131         * doc/i-o-library-routines.rst:
132         Add trailing newline.
133         * doc/index.rst:
134         Add trailing newline.
135         * doc/indices-and-tables.rst:
136         Add trailing newline.
137         * doc/introduction.rst:
138         Add trailing newline.
139         * doc/math-library-routines.rst:
140         Add trailing newline.
141         * doc/quadmathsnprintf.rst:
142         Add trailing newline.
143         * doc/reporting-bugs.rst:
144         Add trailing newline.
145         * doc/strtoflt128.rst:
146         Add trailing newline.
147         * doc/typedef-and-constants.rst:
148         Add trailing newline.
150 2022-11-14  Martin Liska  <mliska@suse.cz>
152         Revert:
153         2022-11-14  Martin Liska  <mliska@suse.cz>
155         * Makefile.in: Add missing HAS_SPHINX_BUILD.
157 2022-11-14  Martin Liska  <mliska@suse.cz>
159         Revert:
160         2022-11-14  Martin Liska  <mliska@suse.cz>
162         * doc/conf.py: Add newline at last line.
164 2022-11-14  Martin Liska  <mliska@suse.cz>
166         Revert:
167         2022-11-14  Martin Liska  <mliska@suse.cz>
169         PR other/107620
170         * configure: Regenerate.
171         * configure.ac: Always set sphinx-build.
173 2022-11-13  Martin Liska  <mliska@suse.cz>
175         PR other/107620
176         * configure: Regenerate.
177         * configure.ac: Always set sphinx-build.
179 2022-11-10  Martin Liska  <mliska@suse.cz>
181         * doc/conf.py: Add newline at last line.
183 2022-11-09  Martin Liska  <mliska@suse.cz>
185         * Makefile.in: Add missing HAS_SPHINX_BUILD.
187 2022-11-09  Martin Liska  <mliska@suse.cz>
189         * doc/copyright.rst:
190         Add trailing newline.
191         * doc/gnu-free-documentation-license.rst:
192         Add trailing newline.
193         * doc/i-o-library-routines.rst:
194         Add trailing newline.
195         * doc/index.rst:
196         Add trailing newline.
197         * doc/indices-and-tables.rst:
198         Add trailing newline.
199         * doc/introduction.rst:
200         Add trailing newline.
201         * doc/math-library-routines.rst:
202         Add trailing newline.
203         * doc/quadmathsnprintf.rst:
204         Add trailing newline.
205         * doc/reporting-bugs.rst:
206         Add trailing newline.
207         * doc/strtoflt128.rst:
208         Add trailing newline.
209         * doc/typedef-and-constants.rst:
210         Add trailing newline.
212 2022-11-09  Martin Liska  <mliska@suse.cz>
214         * Makefile.in: Build info pages conditionally.
216 2022-11-09  Martin Liska  <mliska@suse.cz>
218         * Makefile.in: Support --with-sphinx-build.
219         * configure.ac: Likewise.
220         * configure: Regenerate.
222 2022-11-09  Martin Liska  <mliska@suse.cz>
224         * libquadmath.texi: Removed.
226 2022-11-09  Martin Liska  <mliska@suse.cz>
228         * Makefile.in: Support Sphinx based documentation.
230 2022-11-09  Martin Liska  <mliska@suse.cz>
232         * doc/conf.py: New file.
233         * doc/copyright.rst: New file.
234         * doc/gnu-free-documentation-license.rst: New file.
235         * doc/i-o-library-routines.rst: New file.
236         * doc/index.rst: New file.
237         * doc/indices-and-tables.rst: New file.
238         * doc/introduction.rst: New file.
239         * doc/math-library-routines.rst: New file.
240         * doc/quadmathsnprintf.rst: New file.
241         * doc/reporting-bugs.rst: New file.
242         * doc/strtoflt128.rst: New file.
243         * doc/typedef-and-constants.rst: New file.
245 2022-10-12  Martin Liska  <mliska@suse.cz>
247         * configure: Regenerate.
249 2022-10-11  Olivier Hainque  <hainque@adacore.com>
250             Olivier Hainque  <hainque@adacore.com>
252         * configure: Regenerate.
254 2022-08-25  Martin Liska  <mliska@suse.cz>
256         * configure: Regenerate.
258 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
260         * configure.ac: Set XCFLAGS to -mno-gnu-attribute on
261         powerpc64le*-linux*.
262         * configure: Regenerated.
264 2022-01-03  Jakub Jelinek  <jakub@redhat.com>
266         * libquadmath.texi: Bump @copying's copyright year.
268 2021-06-08  Martin Liska  <mliska@suse.cz>
270         * libquadmath.texi: Fix typo.
272 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
274         * configure: Re-generate.
276 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
278         * libquadmath.texi: Bump @copying's copyright year.
280 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
282         PR target/97865
283         * configure: Regenerate.
285 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
287         * configure: Regenerate.
289 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
291         PR bootstrap/95413
292         * configure: Regenerated.
294 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
296         PR bootstrap/95147
297         * configure: Regenerated.
299 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
301         * configure: Regenerated.
303 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
305         PR libstdc++/79193
306         PR libstdc++/88999
308         * configure: Regenerated.
310 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
312         * configure.ac: Handle `--with-toolexeclibdir='.
313         * Makefile.in: Regenerate.
314         * aclocal.m4: Regenerate.
315         * configure: Regenerate.
317 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
319         Update copyright years.
321         * libquadmath.texi: Bump @copying's copyright year.
323 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
325         * configure: Regenerate.
327 2019-08-02  Jakub Jelinek  <jakub@redhat.com>
329         * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
330         M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
331         M_SQRT1_2q): Use two more decimal places.
333 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
335         Update copyright years.
337         * libquadmath.texi: Bump @copying's copyright year.
339 2018-12-11  Jakub Jelinek  <jakub@redhat.com>
341         PR c/88430
342         * quadmath_weak.h (__qmath2): Add __quadmath_throw.
344 2018-11-07  Joseph Myers  <joseph@codesourcery.com>
346         * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
347         mantissa2 and mantissa3 fields instead of mant_high and mant_low.
348         Change nan field to ieee_nan.
349         * update-quadmath.py (update_sources): Also update fmaq.c.
350         * math/nanq.c (nanq): Use ieee_nan field of union.
351         Zero-initialize f.  Set quiet_nan field.
352         * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
353         strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
354         mantissa3 fields.  Use ieee_nan and quiet_nan field.
355         * math/fmaq.c: Regenerate from glibc sources with
356         update-quadmath.py.
358 2018-11-05  Joseph Myers  <joseph@codesourcery.com>
360         PR libquadmath/68686
361         * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
362         Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
363         math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
364         math/casinhq_kernel.c.
365         * Makefile.in: Regenerate.
366         * libquadmath.texi (exp2q, issignalingq): Document.
367         * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
368         <fenv.h>.
369         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
370         (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
371         (__quadmath_gamma_productq, __quadmath_gammaq_r)
372         (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
373         (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
374         (math_check_force_underflow_complex, __glibc_likely)
375         (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
376         (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
377         (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
378         (fesetenv, fetestexcept, feclearexcept): Define if not supported
379         through <fenv.h>.
380         (__quadmath_isinf_nsq): Remove.
381         * quadmath.h (exp2q, issignalingq): New.
382         * quadmath.map (QUADMATH_1.2): New.
383         * quadmath_weak.h (exp2q, issignalingq): New.
384         * update-quadmath.py: New file.
385         * math/isinf_nsq.c: Remove file.
386         * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
387         math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
388         math/tanq_kernel.c, math/tgammaq_product.c: New files.  Generated
389         from glibc sources with update-quadmath.py.
390         * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
391         math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
392         math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
393         math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
394         math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
395         math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
396         math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
397         math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
398         math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
399         math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
400         math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
401         math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
402         math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
403         math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
404         math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
405         math/lroundq.c, math/modfq.c, math/nearbyintq.c,
406         math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
407         math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
408         math/signbitq.c, math/sincos_table.c, math/sincosq.c,
409         math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
410         math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
411         math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
412         update-quadmath.py.
414 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
416         PR bootstrap/82856
417         * Makefile.am: Include multilib.am.
418         (AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
419         (all-local): Define outside conditional code.
420         (CLEANFILES): Remove libquadmath.info.
421         * configure.ac: Remove AC_PREREQ.
422         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
424 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
426         * configure: Regenerated.
428 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
430         * configure: Regenerated.
432 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
434         PR jit/85384
435         * configure: Regenerate.
437 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
439         PR target/84148
440         * configure: Regenerate.
442 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
444         * libquadmath.texi: Bump @copying's copyright year.
446 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
448         * Makefile.am: Update AM_CFLAGS.
449         * Makefile.in: Regenerate:
450         * acinclude.m4: Add enable.m4 and cet.m4.
451         * configure: Regenerate.
452         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
454 2017-11-05  Tom de Vries  <tom@codesourcery.com>
456         PR other/82784
457         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
458         "do {} while (0)".
460 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
462         PR libquadmath/81848
463         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
464         complex __float128 on PowerPC instead of attribute mode TC.
465         * quadmath.h (__complex128): Likewise.
466         * configure: Regenerate.
467         * math/cbrtq.c (CBRT2): Use __float128 not long double.
468         (CBRT4): Likewise.
469         (CBRT2I): Likewise.
470         (CBRT4I): Likewise.
471         * math/j0q.c (U0): Likewise.
472         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
473         between __float128, instead explicitly convert the __float128
474         value to long double because the PowerPC does not allow __float128
475         and long double in the same expression.
477 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
479         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
481 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
483         PR libquadmath/65757
484         * quadmath-imp.h (math_opt_barrier, math_force_eval,
485         math_narrow_eval, math_check_force_underflow,
486         math_check_force_underflow_nonneg): Define.
487         * math/ceilq.c: Backport changes from upstream glibc
488         between 2012-11-01 and 2017-07-13.
489         * math/remquoq.c: Likewise.
490         * math/expq.c: Likewise.
491         * math/llroundq.c: Likewise.
492         * math/logq.c: Likewise.
493         * math/atanq.c: Likewise.
494         * math/nearbyintq.c: Likewise.
495         * math/scalblnq.c: Likewise.
496         * math/finiteq.c: Likewise.
497         * math/atanhq.c: Likewise.
498         * math/expm1q.c: Likewise.
499         * math/sinhq.c: Likewise.
500         * math/log10q.c: Likewise.
501         * math/rintq.c: Likewise.
502         * math/roundq.c: Likewise.
503         * math/fmaq.c: Likewise.
504         * math/erfq.c: Likewise.
505         * math/log2q.c: Likewise.
506         * math/lroundq.c: Likewise.
507         * math/j1q.c: Likewise.
508         * math/scalbnq.c: Likewise.
509         * math/truncq.c: Likewise.
510         * math/frexpq.c: Likewise.
511         * math/sincosq.c: Likewise.
512         * math/tanhq.c: Likewise.
513         * math/asinq.c: Likewise.
514         * math/coshq.c: Likewise.
515         * math/j0q.c: Likewise.
516         * math/asinhq.c: Likewise.
517         * math/floorq.c: Likewise.
518         * math/sinq_kernel.c: Likewise.
519         * math/powq.c: Likewise.
520         * math/hypotq.c: Likewise.
521         * math/sincos_table.c: Likewise.
522         * math/rem_pio2q.c: Likewise.
523         * math/nextafterq.c: Likewise.
524         * math/log1pq.c: Likewise.
525         * math/sincosq_kernel.c: Likewise.
526         * math/tanq.c: Likewise.
527         * math/acosq.c: Likewise.
528         * math/lrintq.c: Likewise.
529         * math/llrintq.c: Likewise.
531 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
533         * configure.ac (ACX_BUGURL): Update.
534         * configure: Regenerate.
536 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
538         PR other/79046
539         * configure.ac: Add GCC_BASE_VER.
540         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
541         get version from BASE-VER file.
542         * configure: Regenerated.
543         * Makefile.in: Regenerated.
545 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
547         * libquadmath.texi: Bump @copying's copyright year.
549 2016-11-15  Matthias Klose  <doko@ubuntu.com>
551         * configure: Regenerate.
553 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
555         * libquadmath.texi: Bump @copying's copyright year.
557 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
559         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
560         * Makefile.in: Regenerate.
561         * libquadmath.texi: Document logbq.
562         * quadmath.h: Add logbq prototype.
563         * quadmath.map: Add logbq.
564         * quadmath_weak.h: Add logbq prototype.
565         * math/logbq.c: New file
567 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
569         * Makefile.in: Regenerated with automake-1.11.6.
570         * aclocal.m4: Likewise.
571         * configure: Likewise.
573 2015-01-26  Matthias Klose  <doko@ubuntu.com>
575         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
576         * configure: Regenerate.
578 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
580         * libquadmath.texi: Bump @copying's copyright year.
582 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
584         PR bootstrap/63784
585         * configure: Regenerated.
587 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
589         PR target/63610
590         * configure: Regenerate.
592 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
594         PR libquadmath/55821
595         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
596         * Makefile.in: Regenerate.
598 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
600         PR libquadmath/55821
601         * Makefile.am: Conditionally define info_TEXINFOS and
602         libquadmath_TEXINFOS.
603         * Makefile.in: Regenerate.
605 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
607         PR libquadmath/63487
608         * libquadmath.texi (sincosq): Fix typo.
610 2014-01-02  Tobias Burnus  <burnus@net-b.de>
612         * libquadmath.texi: Bump @copying's copyright year.
614 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
616         * Makefile.am (AM_CPPFLAGS): Define.
617         * Makefile.in: Regenerate.
618         * printf/gmp-impl.h: Remove path from longlong.h include.
620 2013-09-20  Alan Modra  <amodra@gmail.com>
622         * configure: Regenerate.
624 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
626         PR libquadmath/55473
627         * quadmath.h: Add 'extern "C"' block for C++ use.
629 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
631         PR libquadmath/56379
632         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
633         macro.
635 2013-02-17  Tobias Burnus  <burnus@net-b.de>
637         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
639 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
641         Revert previous patch.
643 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
645         Update copyright years.
647 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
649         PR libquadmath/56072
650         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
652 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
654         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
655         instead of L suffixed ones.
656         * math/fmaq.c (fmaq): Likewise.
657         * math/rintq.c (TWO112): Likewise.
659 2012-12-03  Tobias Burnus  <burnus@net-b.de>
661         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
662         reading.
664 2012-11-25  Tobias Burnus  <burnus@net-b.de>
666         PR libquadmath/55462
667         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
668         instead of nonexisting HAVE_GET_ROUNDING_MODE.
670 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
672         PR bootstrap/55455
673         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
674         void to fegetround.
676 2012-11-23  Tobias Burnus  <burnus@net-b.de>
677             Joseph Myers  <joseph@codesourcery.com>
679         * quadmath-rounding-mode.h: New.
680         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
681         * printf/fpioconst.h: Ditto.
682         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
683         Make printf respect the rounding mode for decimal output.
684         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
685         GLIBC.  Make printf respect the rounding mode for hex output.
686         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
687         rounding mode. Fix strtod handling of underflow.
689 2012-11-22  David S. Miller  <davem@davemloft.net>
690             Tobias Burnus  <burnus@net-b.de>
691             Joseph Myers  <joseph@codesourcery.com>
693         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
694         very large arguments properly.
695         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
696         underflow when 'x' is very small.
697         * math/j1q.c (y1q): Ditto.
698         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
699         nonzero exponents with absolute value below 0x1p-128 to
700         +/- 0x1p-128.
701         * math/powq.c (powq): Update from GLIBC. If xm1 is
702         smaller than LDBL_EPSILON/2.0L, just return xm1.
704 2012-11-21  Tobias Burnus  <burnus@net-b.de>
706         PR libquadmath/55225
707         * math/lgammaq.c (lgammaq): Use local variable if
708         math.h does not provide signgam.
709         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
710         * configure.ac: Use it.
711         * configure: Regenerate.
712         * config.h.in: Regenerate.
714 2012-11-15  Tobias Burnus  <burnus@net-b.de>
715             Joseph Myers  <joseph@codesourcery.com>
717         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
718         underflows with small x * y; Fix overflow results
719         outside round-to-nearest mode; make use of Dekker
720         and Knuth algorithms use round-to-nearest.
722 2012-11-01  Tobias Burnus  <burnus@net-b.de>
724         * math/fmaq.c (fmaq): Fix build.
726 2012-11-01  Tobias Burnus  <burnus@net-b.de>
727             Joseph Myers  <joseph@codesourcery.com>
729         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
730         with small x * y using scaling, not as x * y + z.
731         * math/lgammaq.c (lgammaq): Fix signgam handling.
733 2012-11-01  Tobias Burnus  <burnus@net-b.de>
735         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
736         * Makefile.in: Regenerated.
737         * math/acoshq.c: Update comment.
738         * math/acosq.c: Ditto.
739         * math/asinhq.c: Ditto.
740         * math/asinq.c: Ditto.
741         * math/atan2q.c: Ditto.
742         * math/atanhq.c: Ditto.
743         * math/ceilq.c: Ditto.
744         * math/copysignq.c: Ditto.
745         * math/cosq.c: Ditto.
746         * math/coshq.c: Ditto.
747         * math/erfq.c: Ditto.
748         * math/fabsq.c: Ditto.
749         * math/finiteq.c: Ditto.
750         * math/floorq.c: Ditto.
751         * math/fmodq.c: Ditto.
752         * math/frexpq.c: Ditto.
753         * math/isnanq.c: Ditto.
754         * math/j0q.c: Ditto.
755         * math/j1q.c: Ditto.
756         * math/ldexpq.c: Ditto.
757         * math/llroundq.c: Ditto.
758         * math/log10q.c: Ditto.
759         * math/log1pq.c: Ditto.
760         * math/log2q.c: Ditto.
761         * math/logq.c: Ditto.
762         * math/lroundq.c: Ditto.
763         * math/modfq.c: Ditto.
764         * math/nextafterq.c: Ditto.
765         * math/powq.c: Ditto.
766         * math/rem_pio2q.c: Ditto.
767         * math/remainderq.c: Ditto.
768         * math/rintq.c: Ditto.
769         * math/roundq.c: Ditto.
770         * math/scalblnq.c: Ditto.
771         * math/scalbnq.c: Ditto.
772         * math/sincosq_kernel.c: Ditto.
773         * math/sinq.c: Ditto.
774         * math/tanq.c: Ditto.
775         * math/expq.c: Ditto.
776         (__expq_table, expq): Renamed local array from __expl_table.
777         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
778         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
779         * math/casinhq.c: Changes from GLIBC to fix special-case.
780         * math/cbrtq.c: Use modified GLIBC version.
781         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
782         ctanhq, ctanq): Moved to separates files.
783         (mult_c128, div_c128): Removed no longer needed functions.
784         (cexpiq): Call sincosq instead of sinq and cosq.
785         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
786         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
787         modified based on GLIBC.
788         * math/cexpq.c (cexp): Ditto.
789         * math/clog10q.c (clog10q): Ditto.
790         * math/clogq.c (clogq): Ditto.
791         * math/csinhq.c: Ditto.
792         * math/csinq.c: Ditto.
793         * math/csqrtq.c: Ditto.
794         * math/ctanhq.c: Ditto.
795         * math/ctanq.c: Ditto.
796         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
797         from GLIBC.
798         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
799         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
800         from GLIBC.
801         * math/lgammaq.c (lgammaq): Add signgam handling.
802         * math/sinhq.c (sinhq): Fix sign handling.
803         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
804         * math/tgammaq.c (tgammaq): Ditto.
805         * math/x2y2m1q.c: New file.
806         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
807         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
809 2012-10-31  Tobias Burnus  <burnus@net-b.de>
810             Joseph Myers <joseph@codesourcery.com>
811             David S. Miller <davem@davemloft.net>
812             Ulrich Drepper <drepper@redhat.com>
813             Marek Polacek <polacek@redhat.com>:
814             Petr Baudis <pasky@suse.cz>
816         * math/complex.c (csqrtq): NaN and INF fixes. 
817         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
818         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
819         large parameters. Fix errno for boundary conditions.
820         * math/finiteq.c (finiteq): Add comment.
821         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
822         and bad results for some subnormal results. Fix sign of inexact
823         zero return. Fix sign of exact zero return. 
824         Ensure additions are not scheduled after fetestexcept.
825         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
826         for ynq. Fix jnq precision.
827         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
828         manipulate bits before adding and subtracting TWO112[sx].
829         * math/rintq.c (rintq): Ditto.
830         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
831         overflow.
833 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
835         * configure: Regenerated.
837 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
839         PR libstdc++/51007
840         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
841         * configure: Regenerated.
843 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
845         * configure: Regenerated.
847 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
849         * configure: Regenerate.
851 2011-11-07  Kai Tietz  <ktietz@redhat.com>
853         PR target/51007
854         * quadmath-imp.h (ieee854_float128): Adjust
855         for ms-bitfield layout.
857 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
859         * printf/gmp-impl.h: Adapt path to longlong.h.
861 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
863         * Makefile.am (FLAGS_TO_PASS): Define.
864         * Makefile.in: Regenerate.
866 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
868         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
869         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
871 2011-04-03  Tobias Burnus  <burnus@net-b.de>
873         PR fortran/48311
874         * libquadmath.texi (strtoflt128): Fix typo.
875         (quadmath_snprintf): Move note up, make @item.
877 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
879         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
880         mempcpy.
882 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
884         PR bootstrap/48135
885         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
886         * configure: Regenerate.
888 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
890         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
891         that for size > 0 str is always zero terminated.
893 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
895         PR bootstrap/47827
896         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
898 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
900         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
901         FLT128_MAX_10_EXP): Document.
902         (strtoflt128): Remove obsolete comment.
903         * configure.ac (HAVE_STRTOULL): New check.
904         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
905         define.
906         * printf/mul_n.c: Include <config.h>.
907         * printf/add_n.c: Likewise.
908         * printf/cmp.c: Likewise.
909         * printf/fpioconst.c: Likewise.
910         * printf/mul_1.c: Likewise.
911         * printf/rshift.c: Likewise.
912         * printf/lshift.c: Likewise.
913         * printf/submul_1.c: Likewise.
914         * printf/sub_n.c: Likewise.
915         * printf/divrem.c: Likewise.
916         * printf/addmul_1.c: Likewise.
917         * printf/mul.c: Likewise.
918         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
919         to avoid evaluating argument multiple times.
920         (isxdigit): Redefine.
921         * strtod/strtoflt128.c: New file.
922         * strtod/strtod_l.c: New file.
923         * strtod/mpn2flt128.c: New file.
924         * strtod/grouping.h: New file.
925         * strtod/tens_in_limb.c: New file.
926         * gdtoa/arith.h: Removed.
927         * gdtoa/gd_qnan.h: Removed.
928         * gdtoa/gdtoa_fltrnds.h: Removed.
929         * gdtoa/gdtoa.h: Removed.
930         * gdtoa/gdtoaimp.h: Removed.
931         * gdtoa/gethex.c: Removed.
932         * gdtoa/gmisc.c: Removed.
933         * gdtoa/hd_init.c: Removed.
934         * gdtoa/hexnan.c: Removed.
935         * gdtoa/makefile: Removed.
936         * gdtoa/misc.c: Removed.
937         * gdtoa/README.gdtoa: Removed.
938         * gdtoa/smisc.c: Removed.
939         * gdtoa/strtodg.c: Removed.
940         * gdtoa/strtopQ.c: Removed.
941         * gdtoa/sum.c: Removed.
942         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
943         Define.
944         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
945         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
946         * config.h.in: Regenerated.
947         * configure: Regenerated.
948         * Makefile.in: Regenerated.
950 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
952         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
953         whether workarounds for printf hook handling should be added.
955         * configure.ac: Check for locale.h too.
956         (USE_LOCALE_SUPPORT): Remove check.
957         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
958         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
959         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
960         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
961         for wide version.
962         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
963         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
964         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
965         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
966         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
967         USE_I18N_NUMBER_H #ifdef.
968         * configure: Regenerated.
969         * config.h.in: Regenerated.
971 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
973         PR bootstrap/47736
974         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
975         user field.
976         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
977         field instead of setting individual fields to 0.  Don't set info.user
978         to -1.
979         * configure: Regenerated.
981         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
982         * printf/printf_fp.c: Don't include <alloca.h>.
983         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
984         * configure: Regenerated.
986         PR fortran/47642
987         * libquadmath.texi (quadmath_snprintf): Document.
988         (quadmath_flt128tostr): Remove.
989         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
990         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
991         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
992         * quadmath.h (quadmath_snprintf): New prototype.
993         (quadmath_flt128tostr): Remove.
994         * quadmath_weak.h (quadmath_snprintf): Add.
995         (quadmath_flt128tostr): Remove.
996         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
997         wctype.h, limits.h, ctype.h, printf.h, errno.h.
998         (AC_USE_SYSTEM_EXTENSIONS): Add.
999         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
1000         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
1001         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
1002         quadmath_flt128tostr.
1003         * printf/printf_fphex.c: New file.
1004         * printf/_itowa.h: New file.
1005         * printf/mul_n.c: New file.
1006         * printf/quadmath-printf.h: New file.
1007         * printf/submul_1.c: New file.
1008         * printf/quadmath-printf.c: New file.
1009         * printf/gmp-impl.h: New file.
1010         * printf/lshift.c: New file.
1011         * printf/fpioconst.h: New file.
1012         * printf/add_n.c: New file.
1013         * printf/cmp.c: New file.
1014         * printf/sub_n.c: New file.
1015         * printf/mul.c: New file.
1016         * printf/divrem.c: New file.
1017         * printf/addmul_1.c: New file.
1018         * printf/printf_fp.c: New file.
1019         * printf/_itoa.h: New file.
1020         * printf/fpioconst.c: New file.
1021         * printf/_i18n_number.h: New file.
1022         * printf/flt1282mpn.c: New file.
1023         * printf/rshift.c: New file.
1024         * printf/mul_1.c: New file.
1025         * quadmath_io.c: Removed.
1026         * gdtoa/gdtoa.c: Removed.
1027         * gdtoa/g__fmt.c: Removed.
1028         * gdtoa/g_Qfmt.c: Removed.
1029         * gdtoa/dmisc.c: Removed.
1030         * gdtoa/ulp.c: Removed.
1031         * config.h.in: Regenerated.
1032         * configure: Regenerated.
1033         * Makefile.in: Regenerated.
1035 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1037         * Makefile.in: Regenerate.
1038         * aclocal.m4: Likewise.
1039         * configure: Likewise.
1041 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1043         PR libquadmath/47293
1044         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
1045         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
1047 2011-01-17  Tobias Burnus  <burnus@net-b.de>
1049         PR fortran/47295
1050         * libquadmath.text: Document typedef and constants.
1052 2011-01-17  Tobias Burnus  <burnus@net-b.de>
1054         PR fortran/46817
1055         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
1056         bump copyright year and use /**/ instead of // comments.
1057         * quadmath.h: Ditto.
1058         * quadmath-weak.h: Ditto.
1059         * quadmath_io.c: Ditto.
1061 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
1063         PR libfortran/47322
1064         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
1066         PR fortran/46625
1067         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
1068         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
1069         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
1070         (strtoflt128, quadmath_flt128tostr): Add.
1071         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
1072         (strtoflt128): ... this.  Return __float128, instead of writing
1073         to memory pointed by last argument.
1074         * quadmath.h: Use C style comments instead of C++ style.
1075         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
1076         (strtoflt128, quadmath_flt128tostr): Add prototypes.
1077         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
1078         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
1079         adjust examples.
1080         * quadmath_io.c (quadmath_dtoaq): Rename to...
1081         (quadmath_flt128tostr): ... this.
1083         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
1084         Use it for all prototypes.
1086         PR fortran/46416
1087         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
1088         const from prototype argument.
1089         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
1090         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
1091         (__quadmath_extern_inline): Define.
1092         (cimagq, conjq, crealq): New inlines.
1093         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
1094         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
1095         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
1096         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
1097         * Makefile.in: Regenerated.
1098         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1099         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1100         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
1101         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
1102         tests instead of __BIG_ENDIAN__.
1103         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
1104         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
1105         and remquoq.
1106         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1107         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1108         * math/cprojq.c: New file.
1109         * math/ilogbq.c: New file.
1110         * math/fminq.c: New file.
1111         * math/llrintq.c: New file.
1112         * math/log2q.c: New file.
1113         * math/lrintq.c: New file.
1114         * math/crealq.c: New file.
1115         * math/nearbyintq.c: New file.
1116         * math/fmaxq.c: New file.
1117         * math/conjq.c: New file.
1118         * math/remquoq.c: New file.
1119         * math/cimagq.c: New file.
1120         * math/fdimq.c: New file.
1122         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
1124         PR fortran/46416
1125         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
1126         New prototypes.
1127         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
1128         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
1129         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
1130         catanhq): Add.
1131         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
1132         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
1133         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
1134         catanq and catanhq.
1135         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
1136         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
1137         and math/catanhq.c.
1138         * Makefile.in: Regenerated.
1139         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
1140         catanq, catanhq): Add.
1141         * math/cacoshq.c: New file.
1142         * math/cacosq.c: New file.
1143         * math/catanq.c: New file.
1144         * math/catanhq.c: New file.
1145         * math/casinq.c: New file.
1146         * math/casinhq.c: New file.
1148         * math/hypotq.c (hypotq): Use Q suffix instead of L.
1149         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
1150         * math/cosq.c (cosq): Likewise.
1152         PR fortran/46402
1153         * quadmath.map (QUADMATH_1.0): Add fmaq.
1154         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
1155         feupdateenv, fesetenv and fetestexcept.
1156         * configure: Regenerated.
1157         * config.h.in: Regenerated.
1158         * quadmath.h (fmaq): New prototype.
1159         * quadmath_weak.h (fmaq): Add.
1160         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
1161         * Makefile.in: Regenerated.
1162         * quadmath-imp.h: Include config.h.
1163         * math/expq.c: Include fenv.h.
1164         (USE_FENV_H): Define if libm support for fe* is there.
1165         (expq): Add fesetround etc. support if USE_FENV_H is defined.
1166         * math/fmaq.c: New file.
1167         * libquadmath.texi (fmaq): Add.
1169 2011-01-14  Tobias Burnus  <burnus@net-b.de>
1171         PR fortran/47182
1172         * configure.ac: Use ACX_BUGURL.
1173         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
1174         * Makefile.am: Create libquadmath-vers.texi.
1175         * configure.in: Regenerate.
1176         * Makefile.in: Regenerate.
1178 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1180         PR fortran/47174
1181         * Makefile.am (libquadmath.info): Unconditionally override
1182         target, not only if BUILD_LIBQUADMATH.
1183         * Makefile.in: Regenerate.
1184         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
1185         avoid warning from automake.
1187 2010-12-19  Tobias Burnus  <burnus@net-b.de>
1189         PR fortran/46520
1190         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
1191         * configure: Regenerate
1193 2010-12-13  Tobias Burnus  <burnus@net-b.de>
1195         PR fortran/46625
1196         * gdtoa/gdtoaimp.h: Mangle internal functions by
1197         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
1198         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
1199         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
1200         if NO_STRING_H is set.
1201         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
1202         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
1203         __quadmath prefix to internal functions.
1204         * math/cosq.c (cosq): Ditto.
1205         * math/sinq.c (cosq): Ditto.
1206         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
1207         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
1208         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
1209         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
1211 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1213         PR fortran/46772
1214         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
1215         * gdtoa/gdtoaimp.h: Don't declare strtod.
1217 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1219         PR fortran/46520
1220         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
1221         AC_TRY_LINK and cache libquad_have_float128.
1222         * configure: Regenerate.
1224 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1226         PR fortran/46543
1227         * configure.ac: Add texinfo checks.
1228         * Makefile.am: Handle .texi documentation.
1229         * libquadmath.texi: New.
1230         * configure: Regenerated.
1231         * Makefile.in: Regenerated.
1233 2010-12-06  Tobias Burnus  <burnus@net-b.de>
1235         PR fortran/46817
1236         * quadmath-imp.h: Add LGPL header.
1237         * quadmath.h: Add LGPL header.
1238         * quadmath_io.c: Add LGPL header.
1239         * quadmath_weak.h: Add LGPL header.
1241 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1243         PR target/40125
1244         PR lto/46695
1245         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
1246         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
1247         * aclocal.m4: Regenerate.
1248         * configure: Regenerate.
1249         * Makefile.in: Regenerate.
1251 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1253         PR fortran/46594
1254         * Makefile.am: Install include files in
1255         target/version specific directory.
1256         * Makefile.in: Regenerate.
1258 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1260         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
1261         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
1262         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1264 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
1266         * configure: Regenerated.
1267         * Makefile.in: Regenerated.
1268         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1269         (target_alias): Use AC_SUBST for it.
1270         (GCC_NO_EXECUTABLES): Call it.
1271         (AC_PROG_CC): Improve multilib handling.
1272         Check that gcc is used for compilation.
1273         Use pattern from libssp for symbol versioning checking.
1274         * Makefile.am (LTLDFLAGS): Removed.
1275         (libquadmath_la_LDFLAGS): Add -no-undefined.
1276         (libquadmath_la_LINK): Commented out.
1277         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1278         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1279         (MAKEOVERRIDES): New.
1280         * aclocal.m4: Regenerated.
1282 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1284         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1285         (libquadmath_la_LDFLAGS): ... here.
1286         (quadmath.map-sun): Tabify.
1287         Fix sed expression.
1288         * Makefile.in: Regenerate.
1290 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1291             Tobias Burnus  <burnus@net-b.de>
1293         PR fortran/32049
1294         Initial implementation and checkin.
1296 Copyright (C) 2010-2024 Free Software Foundation, Inc.
1298 Copying and distribution of this file, with or without modification,
1299 are permitted in any medium without royalty provided the copyright
1300 notice and this notice are preserved.