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