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