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