1 2023-05-08 Release Manager
5 2023-03-19 Jakub Jelinek <jakub@redhat.com>
7 Backported from master:
8 2023-03-02 niXman <i.nixman@autistici.org>
9 Jakub Jelinek <jakub@redhat.com>
13 * strtod/strtod_l.c (round_and_return): Cherry-pick glibc
14 9310c284ae9 BZ #16151, 4406c41c1d6 BZ #16965 and fcd6b5ac36a
16 (____STRTOF_INTERNAL): Cherry-pick glibc b0debe14fcf BZ #23007,
17 5556d30caee BZ #18247, 09555b9721d and c6aac3bf366 BZ #26137 and
20 2022-08-19 Release Manager
22 * GCC 12.2.0 released.
24 2022-05-06 Release Manager
26 * GCC 12.1.0 released.
28 2022-01-11 Jakub Jelinek <jakub@redhat.com>
30 * configure.ac: Set XCFLAGS to -mno-gnu-attribute on
32 * configure: Regenerated.
34 2022-01-03 Jakub Jelinek <jakub@redhat.com>
36 * libquadmath.texi: Bump @copying's copyright year.
38 2021-06-08 Martin Liska <mliska@suse.cz>
40 * libquadmath.texi: Fix typo.
42 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
44 * configure: Re-generate.
46 2021-01-01 Jakub Jelinek <jakub@redhat.com>
48 * libquadmath.texi: Bump @copying's copyright year.
50 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
53 * configure: Regenerate.
55 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
57 * configure: Regenerate.
59 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
62 * configure: Regenerated.
64 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
67 * configure: Regenerated.
69 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
71 * configure: Regenerated.
73 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
78 * configure: Regenerated.
80 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
82 * configure.ac: Handle `--with-toolexeclibdir='.
83 * Makefile.in: Regenerate.
84 * aclocal.m4: Regenerate.
85 * configure: Regenerate.
87 2020-01-01 Jakub Jelinek <jakub@redhat.com>
89 Update copyright years.
91 * libquadmath.texi: Bump @copying's copyright year.
93 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
95 * configure: Regenerate.
97 2019-08-02 Jakub Jelinek <jakub@redhat.com>
99 * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
100 M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
101 M_SQRT1_2q): Use two more decimal places.
103 2019-01-01 Jakub Jelinek <jakub@redhat.com>
105 Update copyright years.
107 * libquadmath.texi: Bump @copying's copyright year.
109 2018-12-11 Jakub Jelinek <jakub@redhat.com>
112 * quadmath_weak.h (__qmath2): Add __quadmath_throw.
114 2018-11-07 Joseph Myers <joseph@codesourcery.com>
116 * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
117 mantissa2 and mantissa3 fields instead of mant_high and mant_low.
118 Change nan field to ieee_nan.
119 * update-quadmath.py (update_sources): Also update fmaq.c.
120 * math/nanq.c (nanq): Use ieee_nan field of union.
121 Zero-initialize f. Set quiet_nan field.
122 * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
123 strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
124 mantissa3 fields. Use ieee_nan and quiet_nan field.
125 * math/fmaq.c: Regenerate from glibc sources with
128 2018-11-05 Joseph Myers <joseph@codesourcery.com>
131 * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
132 Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
133 math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
134 math/casinhq_kernel.c.
135 * Makefile.in: Regenerate.
136 * libquadmath.texi (exp2q, issignalingq): Document.
137 * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
139 (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
140 (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
141 (__quadmath_gamma_productq, __quadmath_gammaq_r)
142 (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
143 (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
144 (math_check_force_underflow_complex, __glibc_likely)
145 (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
146 (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
147 (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
148 (fesetenv, fetestexcept, feclearexcept): Define if not supported
150 (__quadmath_isinf_nsq): Remove.
151 * quadmath.h (exp2q, issignalingq): New.
152 * quadmath.map (QUADMATH_1.2): New.
153 * quadmath_weak.h (exp2q, issignalingq): New.
154 * update-quadmath.py: New file.
155 * math/isinf_nsq.c: Remove file.
156 * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
157 math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
158 math/tanq_kernel.c, math/tgammaq_product.c: New files. Generated
159 from glibc sources with update-quadmath.py.
160 * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
161 math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
162 math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
163 math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
164 math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
165 math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
166 math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
167 math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
168 math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
169 math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
170 math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
171 math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
172 math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
173 math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
174 math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
175 math/lroundq.c, math/modfq.c, math/nearbyintq.c,
176 math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
177 math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
178 math/signbitq.c, math/sincos_table.c, math/sincosq.c,
179 math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
180 math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
181 math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
184 2018-10-31 Joseph Myers <joseph@codesourcery.com>
187 * Makefile.am: Include multilib.am.
188 (AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
189 (all-local): Define outside conditional code.
190 (CLEANFILES): Remove libquadmath.info.
191 * configure.ac: Remove AC_PREREQ.
192 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
194 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
196 * configure: Regenerated.
198 2018-04-19 Jakub Jelinek <jakub@redhat.com>
200 * configure: Regenerated.
202 2018-04-18 David Malcolm <dmalcolm@redhat.com>
205 * configure: Regenerate.
207 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
210 * configure: Regenerate.
212 2018-01-03 Jakub Jelinek <jakub@redhat.com>
214 * libquadmath.texi: Bump @copying's copyright year.
216 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
218 * Makefile.am: Update AM_CFLAGS.
219 * Makefile.in: Regenerate:
220 * acinclude.m4: Add enable.m4 and cet.m4.
221 * configure: Regenerate.
222 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
224 2017-11-05 Tom de Vries <tom@codesourcery.com>
227 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
230 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
233 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
234 complex __float128 on PowerPC instead of attribute mode TC.
235 * quadmath.h (__complex128): Likewise.
236 * configure: Regenerate.
237 * math/cbrtq.c (CBRT2): Use __float128 not long double.
241 * math/j0q.c (U0): Likewise.
242 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
243 between __float128, instead explicitly convert the __float128
244 value to long double because the PowerPC does not allow __float128
245 and long double in the same expression.
247 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
249 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
251 2017-07-19 Jakub Jelinek <jakub@redhat.com>
254 * quadmath-imp.h (math_opt_barrier, math_force_eval,
255 math_narrow_eval, math_check_force_underflow,
256 math_check_force_underflow_nonneg): Define.
257 * math/ceilq.c: Backport changes from upstream glibc
258 between 2012-11-01 and 2017-07-13.
259 * math/remquoq.c: Likewise.
260 * math/expq.c: Likewise.
261 * math/llroundq.c: Likewise.
262 * math/logq.c: Likewise.
263 * math/atanq.c: Likewise.
264 * math/nearbyintq.c: Likewise.
265 * math/scalblnq.c: Likewise.
266 * math/finiteq.c: Likewise.
267 * math/atanhq.c: Likewise.
268 * math/expm1q.c: Likewise.
269 * math/sinhq.c: Likewise.
270 * math/log10q.c: Likewise.
271 * math/rintq.c: Likewise.
272 * math/roundq.c: Likewise.
273 * math/fmaq.c: Likewise.
274 * math/erfq.c: Likewise.
275 * math/log2q.c: Likewise.
276 * math/lroundq.c: Likewise.
277 * math/j1q.c: Likewise.
278 * math/scalbnq.c: Likewise.
279 * math/truncq.c: Likewise.
280 * math/frexpq.c: Likewise.
281 * math/sincosq.c: Likewise.
282 * math/tanhq.c: Likewise.
283 * math/asinq.c: Likewise.
284 * math/coshq.c: Likewise.
285 * math/j0q.c: Likewise.
286 * math/asinhq.c: Likewise.
287 * math/floorq.c: Likewise.
288 * math/sinq_kernel.c: Likewise.
289 * math/powq.c: Likewise.
290 * math/hypotq.c: Likewise.
291 * math/sincos_table.c: Likewise.
292 * math/rem_pio2q.c: Likewise.
293 * math/nextafterq.c: Likewise.
294 * math/log1pq.c: Likewise.
295 * math/sincosq_kernel.c: Likewise.
296 * math/tanq.c: Likewise.
297 * math/acosq.c: Likewise.
298 * math/lrintq.c: Likewise.
299 * math/llrintq.c: Likewise.
301 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
303 * configure.ac (ACX_BUGURL): Update.
304 * configure: Regenerate.
306 2017-01-17 Jakub Jelinek <jakub@redhat.com>
309 * configure.ac: Add GCC_BASE_VER.
310 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
311 get version from BASE-VER file.
312 * configure: Regenerated.
313 * Makefile.in: Regenerated.
315 2017-01-01 Jakub Jelinek <jakub@redhat.com>
317 * libquadmath.texi: Bump @copying's copyright year.
319 2016-11-15 Matthias Klose <doko@ubuntu.com>
321 * configure: Regenerate.
323 2016-01-04 Jakub Jelinek <jakub@redhat.com>
325 * libquadmath.texi: Bump @copying's copyright year.
327 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
329 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
330 * Makefile.in: Regenerate.
331 * libquadmath.texi: Document logbq.
332 * quadmath.h: Add logbq prototype.
333 * quadmath.map: Add logbq.
334 * quadmath_weak.h: Add logbq prototype.
335 * math/logbq.c: New file
337 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
339 * Makefile.in: Regenerated with automake-1.11.6.
340 * aclocal.m4: Likewise.
341 * configure: Likewise.
343 2015-01-26 Matthias Klose <doko@ubuntu.com>
345 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
346 * configure: Regenerate.
348 2015-01-05 Jakub Jelinek <jakub@redhat.com>
350 * libquadmath.texi: Bump @copying's copyright year.
352 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
355 * configure: Regenerated.
357 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
360 * configure: Regenerate.
362 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
365 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
366 * Makefile.in: Regenerate.
368 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
371 * Makefile.am: Conditionally define info_TEXINFOS and
372 libquadmath_TEXINFOS.
373 * Makefile.in: Regenerate.
375 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
378 * libquadmath.texi (sincosq): Fix typo.
380 2014-01-02 Tobias Burnus <burnus@net-b.de>
382 * libquadmath.texi: Bump @copying's copyright year.
384 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
386 * Makefile.am (AM_CPPFLAGS): Define.
387 * Makefile.in: Regenerate.
388 * printf/gmp-impl.h: Remove path from longlong.h include.
390 2013-09-20 Alan Modra <amodra@gmail.com>
392 * configure: Regenerate.
394 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
397 * quadmath.h: Add 'extern "C"' block for C++ use.
399 2013-02-19 Jakub Jelinek <jakub@redhat.com>
402 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
405 2013-02-17 Tobias Burnus <burnus@net-b.de>
407 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
409 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
411 Revert previous patch.
413 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
415 Update copyright years.
417 2013-01-22 Jakub Jelinek <jakub@redhat.com>
420 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
422 2012-12-13 Jakub Jelinek <jakub@redhat.com>
424 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
425 instead of L suffixed ones.
426 * math/fmaq.c (fmaq): Likewise.
427 * math/rintq.c (TWO112): Likewise.
429 2012-12-03 Tobias Burnus <burnus@net-b.de>
431 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
434 2012-11-25 Tobias Burnus <burnus@net-b.de>
437 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
438 instead of nonexisting HAVE_GET_ROUNDING_MODE.
440 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
443 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
446 2012-11-23 Tobias Burnus <burnus@net-b.de>
447 Joseph Myers <joseph@codesourcery.com>
449 * quadmath-rounding-mode.h: New.
450 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
451 * printf/fpioconst.h: Ditto.
452 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
453 Make printf respect the rounding mode for decimal output.
454 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
455 GLIBC. Make printf respect the rounding mode for hex output.
456 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
457 rounding mode. Fix strtod handling of underflow.
459 2012-11-22 David S. Miller <davem@davemloft.net>
460 Tobias Burnus <burnus@net-b.de>
461 Joseph Myers <joseph@codesourcery.com>
463 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
464 very large arguments properly.
465 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
466 underflow when 'x' is very small.
467 * math/j1q.c (y1q): Ditto.
468 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
469 nonzero exponents with absolute value below 0x1p-128 to
471 * math/powq.c (powq): Update from GLIBC. If xm1 is
472 smaller than LDBL_EPSILON/2.0L, just return xm1.
474 2012-11-21 Tobias Burnus <burnus@net-b.de>
477 * math/lgammaq.c (lgammaq): Use local variable if
478 math.h does not provide signgam.
479 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
480 * configure.ac: Use it.
481 * configure: Regenerate.
482 * config.h.in: Regenerate.
484 2012-11-15 Tobias Burnus <burnus@net-b.de>
485 Joseph Myers <joseph@codesourcery.com>
487 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
488 underflows with small x * y; Fix overflow results
489 outside round-to-nearest mode; make use of Dekker
490 and Knuth algorithms use round-to-nearest.
492 2012-11-01 Tobias Burnus <burnus@net-b.de>
494 * math/fmaq.c (fmaq): Fix build.
496 2012-11-01 Tobias Burnus <burnus@net-b.de>
497 Joseph Myers <joseph@codesourcery.com>
499 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
500 with small x * y using scaling, not as x * y + z.
501 * math/lgammaq.c (lgammaq): Fix signgam handling.
503 2012-11-01 Tobias Burnus <burnus@net-b.de>
505 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
506 * Makefile.in: Regenerated.
507 * math/acoshq.c: Update comment.
508 * math/acosq.c: Ditto.
509 * math/asinhq.c: Ditto.
510 * math/asinq.c: Ditto.
511 * math/atan2q.c: Ditto.
512 * math/atanhq.c: Ditto.
513 * math/ceilq.c: Ditto.
514 * math/copysignq.c: Ditto.
515 * math/cosq.c: Ditto.
516 * math/coshq.c: Ditto.
517 * math/erfq.c: Ditto.
518 * math/fabsq.c: Ditto.
519 * math/finiteq.c: Ditto.
520 * math/floorq.c: Ditto.
521 * math/fmodq.c: Ditto.
522 * math/frexpq.c: Ditto.
523 * math/isnanq.c: Ditto.
526 * math/ldexpq.c: Ditto.
527 * math/llroundq.c: Ditto.
528 * math/log10q.c: Ditto.
529 * math/log1pq.c: Ditto.
530 * math/log2q.c: Ditto.
531 * math/logq.c: Ditto.
532 * math/lroundq.c: Ditto.
533 * math/modfq.c: Ditto.
534 * math/nextafterq.c: Ditto.
535 * math/powq.c: Ditto.
536 * math/rem_pio2q.c: Ditto.
537 * math/remainderq.c: Ditto.
538 * math/rintq.c: Ditto.
539 * math/roundq.c: Ditto.
540 * math/scalblnq.c: Ditto.
541 * math/scalbnq.c: Ditto.
542 * math/sincosq_kernel.c: Ditto.
543 * math/sinq.c: Ditto.
544 * math/tanq.c: Ditto.
545 * math/expq.c: Ditto.
546 (__expq_table, expq): Renamed local array from __expl_table.
547 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
548 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
549 * math/casinhq.c: Changes from GLIBC to fix special-case.
550 * math/cbrtq.c: Use modified GLIBC version.
551 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
552 ctanhq, ctanq): Moved to separates files.
553 (mult_c128, div_c128): Removed no longer needed functions.
554 (cexpiq): Call sincosq instead of sinq and cosq.
555 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
556 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
557 modified based on GLIBC.
558 * math/cexpq.c (cexp): Ditto.
559 * math/clog10q.c (clog10q): Ditto.
560 * math/clogq.c (clogq): Ditto.
561 * math/csinhq.c: Ditto.
562 * math/csinq.c: Ditto.
563 * math/csqrtq.c: Ditto.
564 * math/ctanhq.c: Ditto.
565 * math/ctanq.c: Ditto.
566 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
568 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
569 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
571 * math/lgammaq.c (lgammaq): Add signgam handling.
572 * math/sinhq.c (sinhq): Fix sign handling.
573 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
574 * math/tgammaq.c (tgammaq): Ditto.
575 * math/x2y2m1q.c: New file.
576 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
577 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
579 2012-10-31 Tobias Burnus <burnus@net-b.de>
580 Joseph Myers <joseph@codesourcery.com>
581 David S. Miller <davem@davemloft.net>
582 Ulrich Drepper <drepper@redhat.com>
583 Marek Polacek <polacek@redhat.com>:
584 Petr Baudis <pasky@suse.cz>
586 * math/complex.c (csqrtq): NaN and INF fixes.
587 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
588 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
589 large parameters. Fix errno for boundary conditions.
590 * math/finiteq.c (finiteq): Add comment.
591 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
592 and bad results for some subnormal results. Fix sign of inexact
593 zero return. Fix sign of exact zero return.
594 Ensure additions are not scheduled after fetestexcept.
595 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
596 for ynq. Fix jnq precision.
597 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
598 manipulate bits before adding and subtracting TWO112[sx].
599 * math/rintq.c (rintq): Ditto.
600 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
603 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
605 * configure: Regenerated.
607 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
610 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
611 * configure: Regenerated.
613 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
615 * configure: Regenerated.
617 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
619 * configure: Regenerate.
621 2011-11-07 Kai Tietz <ktietz@redhat.com>
624 * quadmath-imp.h (ieee854_float128): Adjust
625 for ms-bitfield layout.
627 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
629 * printf/gmp-impl.h: Adapt path to longlong.h.
631 2011-09-21 Joseph Myers <joseph@codesourcery.com>
633 * Makefile.am (FLAGS_TO_PASS): Define.
634 * Makefile.in: Regenerate.
636 2011-08-01 Jakub Jelinek <jakub@redhat.com>
638 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
639 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
641 2011-04-03 Tobias Burnus <burnus@net-b.de>
644 * libquadmath.texi (strtoflt128): Fix typo.
645 (quadmath_snprintf): Move note up, make @item.
647 2011-03-25 Jakub Jelinek <jakub@redhat.com>
649 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
652 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
655 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
656 * configure: Regenerate.
658 2011-02-28 Jakub Jelinek <jakub@redhat.com>
660 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
661 that for size > 0 str is always zero terminated.
663 2011-02-20 Jakub Jelinek <jakub@redhat.com>
666 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
668 2011-02-17 Jakub Jelinek <jakub@redhat.com>
670 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
671 FLT128_MAX_10_EXP): Document.
672 (strtoflt128): Remove obsolete comment.
673 * configure.ac (HAVE_STRTOULL): New check.
674 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
676 * printf/mul_n.c: Include <config.h>.
677 * printf/add_n.c: Likewise.
678 * printf/cmp.c: Likewise.
679 * printf/fpioconst.c: Likewise.
680 * printf/mul_1.c: Likewise.
681 * printf/rshift.c: Likewise.
682 * printf/lshift.c: Likewise.
683 * printf/submul_1.c: Likewise.
684 * printf/sub_n.c: Likewise.
685 * printf/divrem.c: Likewise.
686 * printf/addmul_1.c: Likewise.
687 * printf/mul.c: Likewise.
688 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
689 to avoid evaluating argument multiple times.
690 (isxdigit): Redefine.
691 * strtod/strtoflt128.c: New file.
692 * strtod/strtod_l.c: New file.
693 * strtod/mpn2flt128.c: New file.
694 * strtod/grouping.h: New file.
695 * strtod/tens_in_limb.c: New file.
696 * gdtoa/arith.h: Removed.
697 * gdtoa/gd_qnan.h: Removed.
698 * gdtoa/gdtoa_fltrnds.h: Removed.
699 * gdtoa/gdtoa.h: Removed.
700 * gdtoa/gdtoaimp.h: Removed.
701 * gdtoa/gethex.c: Removed.
702 * gdtoa/gmisc.c: Removed.
703 * gdtoa/hd_init.c: Removed.
704 * gdtoa/hexnan.c: Removed.
705 * gdtoa/makefile: Removed.
706 * gdtoa/misc.c: Removed.
707 * gdtoa/README.gdtoa: Removed.
708 * gdtoa/smisc.c: Removed.
709 * gdtoa/strtodg.c: Removed.
710 * gdtoa/strtopQ.c: Removed.
711 * gdtoa/sum.c: Removed.
712 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
714 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
715 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
716 * config.h.in: Regenerated.
717 * configure: Regenerated.
718 * Makefile.in: Regenerated.
720 2011-02-16 Jakub Jelinek <jakub@redhat.com>
722 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
723 whether workarounds for printf hook handling should be added.
725 * configure.ac: Check for locale.h too.
726 (USE_LOCALE_SUPPORT): Remove check.
727 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
728 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
729 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
730 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
732 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
733 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
734 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
735 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
736 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
737 USE_I18N_NUMBER_H #ifdef.
738 * configure: Regenerated.
739 * config.h.in: Regenerated.
741 2011-02-14 Jakub Jelinek <jakub@redhat.com>
744 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
746 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
747 field instead of setting individual fields to 0. Don't set info.user
749 * configure: Regenerated.
751 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
752 * printf/printf_fp.c: Don't include <alloca.h>.
753 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
754 * configure: Regenerated.
757 * libquadmath.texi (quadmath_snprintf): Document.
758 (quadmath_flt128tostr): Remove.
759 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
760 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
761 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
762 * quadmath.h (quadmath_snprintf): New prototype.
763 (quadmath_flt128tostr): Remove.
764 * quadmath_weak.h (quadmath_snprintf): Add.
765 (quadmath_flt128tostr): Remove.
766 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
767 wctype.h, limits.h, ctype.h, printf.h, errno.h.
768 (AC_USE_SYSTEM_EXTENSIONS): Add.
769 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
770 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
771 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
772 quadmath_flt128tostr.
773 * printf/printf_fphex.c: New file.
774 * printf/_itowa.h: New file.
775 * printf/mul_n.c: New file.
776 * printf/quadmath-printf.h: New file.
777 * printf/submul_1.c: New file.
778 * printf/quadmath-printf.c: New file.
779 * printf/gmp-impl.h: New file.
780 * printf/lshift.c: New file.
781 * printf/fpioconst.h: New file.
782 * printf/add_n.c: New file.
783 * printf/cmp.c: New file.
784 * printf/sub_n.c: New file.
785 * printf/mul.c: New file.
786 * printf/divrem.c: New file.
787 * printf/addmul_1.c: New file.
788 * printf/printf_fp.c: New file.
789 * printf/_itoa.h: New file.
790 * printf/fpioconst.c: New file.
791 * printf/_i18n_number.h: New file.
792 * printf/flt1282mpn.c: New file.
793 * printf/rshift.c: New file.
794 * printf/mul_1.c: New file.
795 * quadmath_io.c: Removed.
796 * gdtoa/gdtoa.c: Removed.
797 * gdtoa/g__fmt.c: Removed.
798 * gdtoa/g_Qfmt.c: Removed.
799 * gdtoa/dmisc.c: Removed.
800 * gdtoa/ulp.c: Removed.
801 * config.h.in: Regenerated.
802 * configure: Regenerated.
803 * Makefile.in: Regenerated.
805 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
807 * Makefile.in: Regenerate.
808 * aclocal.m4: Likewise.
809 * configure: Likewise.
811 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
814 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
815 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
817 2011-01-17 Tobias Burnus <burnus@net-b.de>
820 * libquadmath.text: Document typedef and constants.
822 2011-01-17 Tobias Burnus <burnus@net-b.de>
825 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
826 bump copyright year and use /**/ instead of // comments.
828 * quadmath-weak.h: Ditto.
829 * quadmath_io.c: Ditto.
831 2011-01-16 Jakub Jelinek <jakub@redhat.com>
834 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
837 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
838 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
839 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
840 (strtoflt128, quadmath_flt128tostr): Add.
841 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
842 (strtoflt128): ... this. Return __float128, instead of writing
843 to memory pointed by last argument.
844 * quadmath.h: Use C style comments instead of C++ style.
845 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
846 (strtoflt128, quadmath_flt128tostr): Add prototypes.
847 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
848 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
850 * quadmath_io.c (quadmath_dtoaq): Rename to...
851 (quadmath_flt128tostr): ... this.
853 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
854 Use it for all prototypes.
857 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
858 const from prototype argument.
859 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
860 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
861 (__quadmath_extern_inline): Define.
862 (cimagq, conjq, crealq): New inlines.
863 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
864 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
865 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
866 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
867 * Makefile.in: Regenerated.
868 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
869 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
870 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
871 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
872 tests instead of __BIG_ENDIAN__.
873 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
874 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
876 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
877 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
878 * math/cprojq.c: New file.
879 * math/ilogbq.c: New file.
880 * math/fminq.c: New file.
881 * math/llrintq.c: New file.
882 * math/log2q.c: New file.
883 * math/lrintq.c: New file.
884 * math/crealq.c: New file.
885 * math/nearbyintq.c: New file.
886 * math/fmaxq.c: New file.
887 * math/conjq.c: New file.
888 * math/remquoq.c: New file.
889 * math/cimagq.c: New file.
890 * math/fdimq.c: New file.
892 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
895 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
897 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
898 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
899 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
901 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
902 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
903 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
905 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
906 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
908 * Makefile.in: Regenerated.
909 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
910 catanq, catanhq): Add.
911 * math/cacoshq.c: New file.
912 * math/cacosq.c: New file.
913 * math/catanq.c: New file.
914 * math/catanhq.c: New file.
915 * math/casinq.c: New file.
916 * math/casinhq.c: New file.
918 * math/hypotq.c (hypotq): Use Q suffix instead of L.
919 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
920 * math/cosq.c (cosq): Likewise.
923 * quadmath.map (QUADMATH_1.0): Add fmaq.
924 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
925 feupdateenv, fesetenv and fetestexcept.
926 * configure: Regenerated.
927 * config.h.in: Regenerated.
928 * quadmath.h (fmaq): New prototype.
929 * quadmath_weak.h (fmaq): Add.
930 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
931 * Makefile.in: Regenerated.
932 * quadmath-imp.h: Include config.h.
933 * math/expq.c: Include fenv.h.
934 (USE_FENV_H): Define if libm support for fe* is there.
935 (expq): Add fesetround etc. support if USE_FENV_H is defined.
936 * math/fmaq.c: New file.
937 * libquadmath.texi (fmaq): Add.
939 2011-01-14 Tobias Burnus <burnus@net-b.de>
942 * configure.ac: Use ACX_BUGURL.
943 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
944 * Makefile.am: Create libquadmath-vers.texi.
945 * configure.in: Regenerate.
946 * Makefile.in: Regenerate.
948 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
951 * Makefile.am (libquadmath.info): Unconditionally override
952 target, not only if BUILD_LIBQUADMATH.
953 * Makefile.in: Regenerate.
954 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
955 avoid warning from automake.
957 2010-12-19 Tobias Burnus <burnus@net-b.de>
960 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
961 * configure: Regenerate
963 2010-12-13 Tobias Burnus <burnus@net-b.de>
966 * gdtoa/gdtoaimp.h: Mangle internal functions by
967 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
968 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
969 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
970 if NO_STRING_H is set.
971 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
972 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
973 __quadmath prefix to internal functions.
974 * math/cosq.c (cosq): Ditto.
975 * math/sinq.c (cosq): Ditto.
976 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
977 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
978 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
979 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
981 2010-12-08 Tobias Burnus <burnus@net-b.de>
984 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
985 * gdtoa/gdtoaimp.h: Don't declare strtod.
987 2010-12-08 Tobias Burnus <burnus@net-b.de>
990 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
991 AC_TRY_LINK and cache libquad_have_float128.
992 * configure: Regenerate.
994 2010-12-08 Tobias Burnus <burnus@net-b.de>
997 * configure.ac: Add texinfo checks.
998 * Makefile.am: Handle .texi documentation.
999 * libquadmath.texi: New.
1000 * configure: Regenerated.
1001 * Makefile.in: Regenerated.
1003 2010-12-06 Tobias Burnus <burnus@net-b.de>
1006 * quadmath-imp.h: Add LGPL header.
1007 * quadmath.h: Add LGPL header.
1008 * quadmath_io.c: Add LGPL header.
1009 * quadmath_weak.h: Add LGPL header.
1011 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
1015 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
1016 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
1017 * aclocal.m4: Regenerate.
1018 * configure: Regenerate.
1019 * Makefile.in: Regenerate.
1021 2010-11-30 Tobias Burnus <burnus@net-b.de>
1024 * Makefile.am: Install include files in
1025 target/version specific directory.
1026 * Makefile.in: Regenerate.
1028 2010-11-30 Tobias Burnus <burnus@net-b.de>
1030 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
1031 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
1032 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1034 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
1036 * configure: Regenerated.
1037 * Makefile.in: Regenerated.
1038 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1039 (target_alias): Use AC_SUBST for it.
1040 (GCC_NO_EXECUTABLES): Call it.
1041 (AC_PROG_CC): Improve multilib handling.
1042 Check that gcc is used for compilation.
1043 Use pattern from libssp for symbol versioning checking.
1044 * Makefile.am (LTLDFLAGS): Removed.
1045 (libquadmath_la_LDFLAGS): Add -no-undefined.
1046 (libquadmath_la_LINK): Commented out.
1047 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1048 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1049 (MAKEOVERRIDES): New.
1050 * aclocal.m4: Regenerated.
1052 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1054 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1055 (libquadmath_la_LDFLAGS): ... here.
1056 (quadmath.map-sun): Tabify.
1058 * Makefile.in: Regenerate.
1060 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1061 Tobias Burnus <burnus@net-b.de>
1064 Initial implementation and checkin.
1066 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1068 Copying and distribution of this file, with or without modification,
1069 are permitted in any medium without royalty provided the copyright
1070 notice and this notice are preserved.