Update ChangeLog and version files for release
[official-gcc.git] / libquadmath / ChangeLog
blobb684f289b0adc7b3ba4b2697f33f501c646b07c8
1 2017-05-02  Release Manager
3         * GCC 7.1.0 released.
5 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
7         * configure.ac (ACX_BUGURL): Update.
8         * configure: Regenerate.
10 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
12         PR other/79046
13         * configure.ac: Add GCC_BASE_VER.
14         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
15         get version from BASE-VER file.
16         * configure: Regenerated.
17         * Makefile.in: Regenerated.
19 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
21         * libquadmath.texi: Bump @copying's copyright year.
23 2016-11-15  Matthias Klose  <doko@ubuntu.com>
25         * configure: Regenerate.
27 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
29         * libquadmath.texi: Bump @copying's copyright year.
31 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
33         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
34         * Makefile.in: Regenerate.
35         * libquadmath.texi: Document logbq.
36         * quadmath.h: Add logbq prototype.
37         * quadmath.map: Add logbq.
38         * quadmath_weak.h: Add logbq prototype.
39         * math/logbq.c: New file
41 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
43         * Makefile.in: Regenerated with automake-1.11.6.
44         * aclocal.m4: Likewise.
45         * configure: Likewise.
47 2015-01-26  Matthias Klose  <doko@ubuntu.com>
49         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
50         * configure: Regenerate.
52 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
54         * libquadmath.texi: Bump @copying's copyright year.
56 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58         PR bootstrap/63784
59         * configure: Regenerated.
61 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
63         PR target/63610
64         * configure: Regenerate.
66 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
68         PR libquadmath/55821
69         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
70         * Makefile.in: Regenerate.
72 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
74         PR libquadmath/55821
75         * Makefile.am: Conditionally define info_TEXINFOS and
76         libquadmath_TEXINFOS.
77         * Makefile.in: Regenerate.
79 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
81         PR libquadmath/63487
82         * libquadmath.texi (sincosq): Fix typo.
84 2014-01-02  Tobias Burnus  <burnus@net-b.de>
86         * libquadmath.texi: Bump @copying's copyright year.
88 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
90         * Makefile.am (AM_CPPFLAGS): Define.
91         * Makefile.in: Regenerate.
92         * printf/gmp-impl.h: Remove path from longlong.h include.
94 2013-09-20  Alan Modra  <amodra@gmail.com>
96         * configure: Regenerate.
98 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
100         PR libquadmath/55473
101         * quadmath.h: Add 'extern "C"' block for C++ use.
103 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
105         PR libquadmath/56379
106         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
107         macro.
109 2013-02-17  Tobias Burnus  <burnus@net-b.de>
111         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
113 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
115         Revert previous patch.
117 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
119         Update copyright years.
121 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
123         PR libquadmath/56072
124         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
126 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
128         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
129         instead of L suffixed ones.
130         * math/fmaq.c (fmaq): Likewise.
131         * math/rintq.c (TWO112): Likewise.
133 2012-12-03  Tobias Burnus  <burnus@net-b.de>
135         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
136         reading.
138 2012-11-25  Tobias Burnus  <burnus@net-b.de>
140         PR libquadmath/55462
141         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
142         instead of nonexisting HAVE_GET_ROUNDING_MODE.
144 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
146         PR bootstrap/55455
147         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
148         void to fegetround.
150 2012-11-23  Tobias Burnus  <burnus@net-b.de>
151             Joseph Myers  <joseph@codesourcery.com>
153         * quadmath-rounding-mode.h: New.
154         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
155         * printf/fpioconst.h: Ditto.
156         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
157         Make printf respect the rounding mode for decimal output.
158         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
159         GLIBC.  Make printf respect the rounding mode for hex output.
160         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
161         rounding mode. Fix strtod handling of underflow.
163 2012-11-22  David S. Miller  <davem@davemloft.net>
164             Tobias Burnus  <burnus@net-b.de>
165             Joseph Myers  <joseph@codesourcery.com>
167         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
168         very large arguments properly.
169         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
170         underflow when 'x' is very small.
171         * math/j1q.c (y1q): Ditto.
172         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
173         nonzero exponents with absolute value below 0x1p-128 to
174         +/- 0x1p-128.
175         * math/powq.c (powq): Update from GLIBC. If xm1 is
176         smaller than LDBL_EPSILON/2.0L, just return xm1.
178 2012-11-21  Tobias Burnus  <burnus@net-b.de>
180         PR libquadmath/55225
181         * math/lgammaq.c (lgammaq): Use local variable if
182         math.h does not provide signgam.
183         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
184         * configure.ac: Use it.
185         * configure: Regenerate.
186         * config.h.in: Regenerate.
188 2012-11-15  Tobias Burnus  <burnus@net-b.de>
189             Joseph Myers  <joseph@codesourcery.com>
191         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
192         underflows with small x * y; Fix overflow results
193         outside round-to-nearest mode; make use of Dekker
194         and Knuth algorithms use round-to-nearest.
196 2012-11-01  Tobias Burnus  <burnus@net-b.de>
198         * math/fmaq.c (fmaq): Fix build.
200 2012-11-01  Tobias Burnus  <burnus@net-b.de>
201             Joseph Myers  <joseph@codesourcery.com>
203         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
204         with small x * y using scaling, not as x * y + z.
205         * math/lgammaq.c (lgammaq): Fix signgam handling.
207 2012-11-01  Tobias Burnus  <burnus@net-b.de>
209         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
210         * Makefile.in: Regenerated.
211         * math/acoshq.c: Update comment.
212         * math/acosq.c: Ditto.
213         * math/asinhq.c: Ditto.
214         * math/asinq.c: Ditto.
215         * math/atan2q.c: Ditto.
216         * math/atanhq.c: Ditto.
217         * math/ceilq.c: Ditto.
218         * math/copysignq.c: Ditto.
219         * math/cosq.c: Ditto.
220         * math/coshq.c: Ditto.
221         * math/erfq.c: Ditto.
222         * math/fabsq.c: Ditto.
223         * math/finiteq.c: Ditto.
224         * math/floorq.c: Ditto.
225         * math/fmodq.c: Ditto.
226         * math/frexpq.c: Ditto.
227         * math/isnanq.c: Ditto.
228         * math/j0q.c: Ditto.
229         * math/j1q.c: Ditto.
230         * math/ldexpq.c: Ditto.
231         * math/llroundq.c: Ditto.
232         * math/log10q.c: Ditto.
233         * math/log1pq.c: Ditto.
234         * math/log2q.c: Ditto.
235         * math/logq.c: Ditto.
236         * math/lroundq.c: Ditto.
237         * math/modfq.c: Ditto.
238         * math/nextafterq.c: Ditto.
239         * math/powq.c: Ditto.
240         * math/rem_pio2q.c: Ditto.
241         * math/remainderq.c: Ditto.
242         * math/rintq.c: Ditto.
243         * math/roundq.c: Ditto.
244         * math/scalblnq.c: Ditto.
245         * math/scalbnq.c: Ditto.
246         * math/sincosq_kernel.c: Ditto.
247         * math/sinq.c: Ditto.
248         * math/tanq.c: Ditto.
249         * math/expq.c: Ditto.
250         (__expq_table, expq): Renamed local array from __expl_table.
251         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
252         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
253         * math/casinhq.c: Changes from GLIBC to fix special-case.
254         * math/cbrtq.c: Use modified GLIBC version.
255         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
256         ctanhq, ctanq): Moved to separates files.
257         (mult_c128, div_c128): Removed no longer needed functions.
258         (cexpiq): Call sincosq instead of sinq and cosq.
259         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
260         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
261         modified based on GLIBC.
262         * math/cexpq.c (cexp): Ditto.
263         * math/clog10q.c (clog10q): Ditto.
264         * math/clogq.c (clogq): Ditto.
265         * math/csinhq.c: Ditto.
266         * math/csinq.c: Ditto.
267         * math/csqrtq.c: Ditto.
268         * math/ctanhq.c: Ditto.
269         * math/ctanq.c: Ditto.
270         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
271         from GLIBC.
272         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
273         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
274         from GLIBC.
275         * math/lgammaq.c (lgammaq): Add signgam handling.
276         * math/sinhq.c (sinhq): Fix sign handling.
277         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
278         * math/tgammaq.c (tgammaq): Ditto.
279         * math/x2y2m1q.c: New file.
280         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
281         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
283 2012-10-31  Tobias Burnus  <burnus@net-b.de>
284             Joseph Myers <joseph@codesourcery.com>
285             David S. Miller <davem@davemloft.net>
286             Ulrich Drepper <drepper@redhat.com>
287             Marek Polacek <polacek@redhat.com>:
288             Petr Baudis <pasky@suse.cz>
290         * math/complex.c (csqrtq): NaN and INF fixes. 
291         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
292         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
293         large parameters. Fix errno for boundary conditions.
294         * math/finiteq.c (finiteq): Add comment.
295         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
296         and bad results for some subnormal results. Fix sign of inexact
297         zero return. Fix sign of exact zero return. 
298         Ensure additions are not scheduled after fetestexcept.
299         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
300         for ynq. Fix jnq precision.
301         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
302         manipulate bits before adding and subtracting TWO112[sx].
303         * math/rintq.c (rintq): Ditto.
304         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
305         overflow.
307 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
309         * configure: Regenerated.
311 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
313         PR libstdc++/51007
314         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
315         * configure: Regenerated.
317 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
319         * configure: Regenerated.
321 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
323         * configure: Regenerate.
325 2011-11-07  Kai Tietz  <ktietz@redhat.com>
327         PR target/51007
328         * quadmath-imp.h (ieee854_float128): Adjust
329         for ms-bitfield layout.
331 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
333         * printf/gmp-impl.h: Adapt path to longlong.h.
335 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
337         * Makefile.am (FLAGS_TO_PASS): Define.
338         * Makefile.in: Regenerate.
340 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
342         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
343         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
345 2011-04-03  Tobias Burnus  <burnus@net-b.de>
347         PR fortran/48311
348         * libquadmath.texi (strtoflt128): Fix typo.
349         (quadmath_snprintf): Move note up, make @item.
351 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
353         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
354         mempcpy.
356 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
358         PR bootstrap/48135
359         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
360         * configure: Regenerate.
362 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
364         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
365         that for size > 0 str is always zero terminated.
367 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
369         PR bootstrap/47827
370         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
372 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
374         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
375         FLT128_MAX_10_EXP): Document.
376         (strtoflt128): Remove obsolete comment.
377         * configure.ac (HAVE_STRTOULL): New check.
378         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
379         define.
380         * printf/mul_n.c: Include <config.h>.
381         * printf/add_n.c: Likewise.
382         * printf/cmp.c: Likewise.
383         * printf/fpioconst.c: Likewise.
384         * printf/mul_1.c: Likewise.
385         * printf/rshift.c: Likewise.
386         * printf/lshift.c: Likewise.
387         * printf/submul_1.c: Likewise.
388         * printf/sub_n.c: Likewise.
389         * printf/divrem.c: Likewise.
390         * printf/addmul_1.c: Likewise.
391         * printf/mul.c: Likewise.
392         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
393         to avoid evaluating argument multiple times.
394         (isxdigit): Redefine.
395         * strtod/strtoflt128.c: New file.
396         * strtod/strtod_l.c: New file.
397         * strtod/mpn2flt128.c: New file.
398         * strtod/grouping.h: New file.
399         * strtod/tens_in_limb.c: New file.
400         * gdtoa/arith.h: Removed.
401         * gdtoa/gd_qnan.h: Removed.
402         * gdtoa/gdtoa_fltrnds.h: Removed.
403         * gdtoa/gdtoa.h: Removed.
404         * gdtoa/gdtoaimp.h: Removed.
405         * gdtoa/gethex.c: Removed.
406         * gdtoa/gmisc.c: Removed.
407         * gdtoa/hd_init.c: Removed.
408         * gdtoa/hexnan.c: Removed.
409         * gdtoa/makefile: Removed.
410         * gdtoa/misc.c: Removed.
411         * gdtoa/README.gdtoa: Removed.
412         * gdtoa/smisc.c: Removed.
413         * gdtoa/strtodg.c: Removed.
414         * gdtoa/strtopQ.c: Removed.
415         * gdtoa/sum.c: Removed.
416         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
417         Define.
418         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
419         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
420         * config.h.in: Regenerated.
421         * configure: Regenerated.
422         * Makefile.in: Regenerated.
424 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
426         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
427         whether workarounds for printf hook handling should be added.
429         * configure.ac: Check for locale.h too.
430         (USE_LOCALE_SUPPORT): Remove check.
431         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
432         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
433         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
434         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
435         for wide version.
436         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
437         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
438         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
439         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
440         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
441         USE_I18N_NUMBER_H #ifdef.
442         * configure: Regenerated.
443         * config.h.in: Regenerated.
445 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
447         PR bootstrap/47736
448         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
449         user field.
450         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
451         field instead of setting individual fields to 0.  Don't set info.user
452         to -1.
453         * configure: Regenerated.
455         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
456         * printf/printf_fp.c: Don't include <alloca.h>.
457         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
458         * configure: Regenerated.
460         PR fortran/47642
461         * libquadmath.texi (quadmath_snprintf): Document.
462         (quadmath_flt128tostr): Remove.
463         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
464         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
465         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
466         * quadmath.h (quadmath_snprintf): New prototype.
467         (quadmath_flt128tostr): Remove.
468         * quadmath_weak.h (quadmath_snprintf): Add.
469         (quadmath_flt128tostr): Remove.
470         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
471         wctype.h, limits.h, ctype.h, printf.h, errno.h.
472         (AC_USE_SYSTEM_EXTENSIONS): Add.
473         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
474         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
475         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
476         quadmath_flt128tostr.
477         * printf/printf_fphex.c: New file.
478         * printf/_itowa.h: New file.
479         * printf/mul_n.c: New file.
480         * printf/quadmath-printf.h: New file.
481         * printf/submul_1.c: New file.
482         * printf/quadmath-printf.c: New file.
483         * printf/gmp-impl.h: New file.
484         * printf/lshift.c: New file.
485         * printf/fpioconst.h: New file.
486         * printf/add_n.c: New file.
487         * printf/cmp.c: New file.
488         * printf/sub_n.c: New file.
489         * printf/mul.c: New file.
490         * printf/divrem.c: New file.
491         * printf/addmul_1.c: New file.
492         * printf/printf_fp.c: New file.
493         * printf/_itoa.h: New file.
494         * printf/fpioconst.c: New file.
495         * printf/_i18n_number.h: New file.
496         * printf/flt1282mpn.c: New file.
497         * printf/rshift.c: New file.
498         * printf/mul_1.c: New file.
499         * quadmath_io.c: Removed.
500         * gdtoa/gdtoa.c: Removed.
501         * gdtoa/g__fmt.c: Removed.
502         * gdtoa/g_Qfmt.c: Removed.
503         * gdtoa/dmisc.c: Removed.
504         * gdtoa/ulp.c: Removed.
505         * config.h.in: Regenerated.
506         * configure: Regenerated.
507         * Makefile.in: Regenerated.
509 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
511         * Makefile.in: Regenerate.
512         * aclocal.m4: Likewise.
513         * configure: Likewise.
515 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
517         PR libquadmath/47293
518         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
519         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
521 2011-01-17  Tobias Burnus  <burnus@net-b.de>
523         PR fortran/47295
524         * libquadmath.text: Document typedef and constants.
526 2011-01-17  Tobias Burnus  <burnus@net-b.de>
528         PR fortran/46817
529         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
530         bump copyright year and use /**/ instead of // comments.
531         * quadmath.h: Ditto.
532         * quadmath-weak.h: Ditto.
533         * quadmath_io.c: Ditto.
535 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
537         PR libfortran/47322
538         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
540         PR fortran/46625
541         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
542         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
543         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
544         (strtoflt128, quadmath_flt128tostr): Add.
545         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
546         (strtoflt128): ... this.  Return __float128, instead of writing
547         to memory pointed by last argument.
548         * quadmath.h: Use C style comments instead of C++ style.
549         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
550         (strtoflt128, quadmath_flt128tostr): Add prototypes.
551         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
552         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
553         adjust examples.
554         * quadmath_io.c (quadmath_dtoaq): Rename to...
555         (quadmath_flt128tostr): ... this.
557         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
558         Use it for all prototypes.
560         PR fortran/46416
561         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
562         const from prototype argument.
563         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
564         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
565         (__quadmath_extern_inline): Define.
566         (cimagq, conjq, crealq): New inlines.
567         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
568         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
569         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
570         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
571         * Makefile.in: Regenerated.
572         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
573         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
574         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
575         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
576         tests instead of __BIG_ENDIAN__.
577         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
578         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
579         and remquoq.
580         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
581         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
582         * math/cprojq.c: New file.
583         * math/ilogbq.c: New file.
584         * math/fminq.c: New file.
585         * math/llrintq.c: New file.
586         * math/log2q.c: New file.
587         * math/lrintq.c: New file.
588         * math/crealq.c: New file.
589         * math/nearbyintq.c: New file.
590         * math/fmaxq.c: New file.
591         * math/conjq.c: New file.
592         * math/remquoq.c: New file.
593         * math/cimagq.c: New file.
594         * math/fdimq.c: New file.
596         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
598         PR fortran/46416
599         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
600         New prototypes.
601         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
602         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
603         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
604         catanhq): Add.
605         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
606         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
607         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
608         catanq and catanhq.
609         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
610         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
611         and math/catanhq.c.
612         * Makefile.in: Regenerated.
613         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
614         catanq, catanhq): Add.
615         * math/cacoshq.c: New file.
616         * math/cacosq.c: New file.
617         * math/catanq.c: New file.
618         * math/catanhq.c: New file.
619         * math/casinq.c: New file.
620         * math/casinhq.c: New file.
622         * math/hypotq.c (hypotq): Use Q suffix instead of L.
623         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
624         * math/cosq.c (cosq): Likewise.
626         PR fortran/46402
627         * quadmath.map (QUADMATH_1.0): Add fmaq.
628         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
629         feupdateenv, fesetenv and fetestexcept.
630         * configure: Regenerated.
631         * config.h.in: Regenerated.
632         * quadmath.h (fmaq): New prototype.
633         * quadmath_weak.h (fmaq): Add.
634         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
635         * Makefile.in: Regenerated.
636         * quadmath-imp.h: Include config.h.
637         * math/expq.c: Include fenv.h.
638         (USE_FENV_H): Define if libm support for fe* is there.
639         (expq): Add fesetround etc. support if USE_FENV_H is defined.
640         * math/fmaq.c: New file.
641         * libquadmath.texi (fmaq): Add.
643 2011-01-14  Tobias Burnus  <burnus@net-b.de>
645         PR fortran/47182
646         * configure.ac: Use ACX_BUGURL.
647         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
648         * Makefile.am: Create libquadmath-vers.texi.
649         * configure.in: Regenerate.
650         * Makefile.in: Regenerate.
652 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
654         PR fortran/47174
655         * Makefile.am (libquadmath.info): Unconditionally override
656         target, not only if BUILD_LIBQUADMATH.
657         * Makefile.in: Regenerate.
658         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
659         avoid warning from automake.
661 2010-12-19  Tobias Burnus  <burnus@net-b.de>
663         PR fortran/46520
664         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
665         * configure: Regenerate
667 2010-12-13  Tobias Burnus  <burnus@net-b.de>
669         PR fortran/46625
670         * gdtoa/gdtoaimp.h: Mangle internal functions by
671         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
672         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
673         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
674         if NO_STRING_H is set.
675         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
676         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
677         __quadmath prefix to internal functions.
678         * math/cosq.c (cosq): Ditto.
679         * math/sinq.c (cosq): Ditto.
680         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
681         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
682         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
683         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
685 2010-12-08  Tobias Burnus  <burnus@net-b.de>
687         PR fortran/46772
688         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
689         * gdtoa/gdtoaimp.h: Don't declare strtod.
691 2010-12-08  Tobias Burnus  <burnus@net-b.de>
693         PR fortran/46520
694         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
695         AC_TRY_LINK and cache libquad_have_float128.
696         * configure: Regenerate.
698 2010-12-08  Tobias Burnus  <burnus@net-b.de>
700         PR fortran/46543
701         * configure.ac: Add texinfo checks.
702         * Makefile.am: Handle .texi documentation.
703         * libquadmath.texi: New.
704         * configure: Regenerated.
705         * Makefile.in: Regenerated.
707 2010-12-06  Tobias Burnus  <burnus@net-b.de>
709         PR fortran/46817
710         * quadmath-imp.h: Add LGPL header.
711         * quadmath.h: Add LGPL header.
712         * quadmath_io.c: Add LGPL header.
713         * quadmath_weak.h: Add LGPL header.
715 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
717         PR target/40125
718         PR lto/46695
719         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
720         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
721         * aclocal.m4: Regenerate.
722         * configure: Regenerate.
723         * Makefile.in: Regenerate.
725 2010-11-30  Tobias Burnus  <burnus@net-b.de>
727         PR fortran/46594
728         * Makefile.am: Install include files in
729         target/version specific directory.
730         * Makefile.in: Regenerate.
732 2010-11-30  Tobias Burnus  <burnus@net-b.de>
734         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
735         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
736         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
738 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
740         * configure: Regenerated.
741         * Makefile.in: Regenerated.
742         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
743         (target_alias): Use AC_SUBST for it.
744         (GCC_NO_EXECUTABLES): Call it.
745         (AC_PROG_CC): Improve multilib handling.
746         Check that gcc is used for compilation.
747         Use pattern from libssp for symbol versioning checking.
748         * Makefile.am (LTLDFLAGS): Removed.
749         (libquadmath_la_LDFLAGS): Add -no-undefined.
750         (libquadmath_la_LINK): Commented out.
751         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
752         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
753         (MAKEOVERRIDES): New.
754         * aclocal.m4: Regenerated.
756 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
758         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
759         (libquadmath_la_LDFLAGS): ... here.
760         (quadmath.map-sun): Tabify.
761         Fix sed expression.
762         * Makefile.in: Regenerate.
764 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
765             Tobias Burnus  <burnus@net-b.de>
767         PR fortran/32049
768         Initial implementation and checkin.
770 Copyright (C) 2010-2017 Free Software Foundation, Inc.
772 Copying and distribution of this file, with or without modification,
773 are permitted in any medium without royalty provided the copyright
774 notice and this notice are preserved.