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