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