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