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