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