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