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