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