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