1 2022-10-12 Martin Liska <mliska@suse.cz>
3 * configure: Regenerate.
5 2022-10-11 Olivier Hainque <hainque@adacore.com>
6 Olivier Hainque <hainque@adacore.com>
8 * configure: Regenerate.
10 2022-08-25 Martin Liska <mliska@suse.cz>
12 * configure: Regenerate.
14 2022-01-11 Jakub Jelinek <jakub@redhat.com>
16 * configure.ac: Set XCFLAGS to -mno-gnu-attribute on
18 * configure: Regenerated.
20 2022-01-03 Jakub Jelinek <jakub@redhat.com>
22 * libquadmath.texi: Bump @copying's copyright year.
24 2021-06-08 Martin Liska <mliska@suse.cz>
26 * libquadmath.texi: Fix typo.
28 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
30 * configure: Re-generate.
32 2021-01-01 Jakub Jelinek <jakub@redhat.com>
34 * libquadmath.texi: Bump @copying's copyright year.
36 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
39 * configure: Regenerate.
41 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
43 * configure: Regenerate.
45 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
48 * configure: Regenerated.
50 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
53 * configure: Regenerated.
55 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
57 * configure: Regenerated.
59 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
64 * configure: Regenerated.
66 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
68 * configure.ac: Handle `--with-toolexeclibdir='.
69 * Makefile.in: Regenerate.
70 * aclocal.m4: Regenerate.
71 * configure: Regenerate.
73 2020-01-01 Jakub Jelinek <jakub@redhat.com>
75 Update copyright years.
77 * libquadmath.texi: Bump @copying's copyright year.
79 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
81 * configure: Regenerate.
83 2019-08-02 Jakub Jelinek <jakub@redhat.com>
85 * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
86 M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
87 M_SQRT1_2q): Use two more decimal places.
89 2019-01-01 Jakub Jelinek <jakub@redhat.com>
91 Update copyright years.
93 * libquadmath.texi: Bump @copying's copyright year.
95 2018-12-11 Jakub Jelinek <jakub@redhat.com>
98 * quadmath_weak.h (__qmath2): Add __quadmath_throw.
100 2018-11-07 Joseph Myers <joseph@codesourcery.com>
102 * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
103 mantissa2 and mantissa3 fields instead of mant_high and mant_low.
104 Change nan field to ieee_nan.
105 * update-quadmath.py (update_sources): Also update fmaq.c.
106 * math/nanq.c (nanq): Use ieee_nan field of union.
107 Zero-initialize f. Set quiet_nan field.
108 * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
109 strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
110 mantissa3 fields. Use ieee_nan and quiet_nan field.
111 * math/fmaq.c: Regenerate from glibc sources with
114 2018-11-05 Joseph Myers <joseph@codesourcery.com>
117 * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
118 Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
119 math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
120 math/casinhq_kernel.c.
121 * Makefile.in: Regenerate.
122 * libquadmath.texi (exp2q, issignalingq): Document.
123 * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
125 (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
126 (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
127 (__quadmath_gamma_productq, __quadmath_gammaq_r)
128 (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
129 (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
130 (math_check_force_underflow_complex, __glibc_likely)
131 (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
132 (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
133 (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
134 (fesetenv, fetestexcept, feclearexcept): Define if not supported
136 (__quadmath_isinf_nsq): Remove.
137 * quadmath.h (exp2q, issignalingq): New.
138 * quadmath.map (QUADMATH_1.2): New.
139 * quadmath_weak.h (exp2q, issignalingq): New.
140 * update-quadmath.py: New file.
141 * math/isinf_nsq.c: Remove file.
142 * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
143 math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
144 math/tanq_kernel.c, math/tgammaq_product.c: New files. Generated
145 from glibc sources with update-quadmath.py.
146 * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
147 math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
148 math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
149 math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
150 math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
151 math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
152 math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
153 math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
154 math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
155 math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
156 math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
157 math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
158 math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
159 math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
160 math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
161 math/lroundq.c, math/modfq.c, math/nearbyintq.c,
162 math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
163 math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
164 math/signbitq.c, math/sincos_table.c, math/sincosq.c,
165 math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
166 math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
167 math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
170 2018-10-31 Joseph Myers <joseph@codesourcery.com>
173 * Makefile.am: Include multilib.am.
174 (AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
175 (all-local): Define outside conditional code.
176 (CLEANFILES): Remove libquadmath.info.
177 * configure.ac: Remove AC_PREREQ.
178 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
180 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
182 * configure: Regenerated.
184 2018-04-19 Jakub Jelinek <jakub@redhat.com>
186 * configure: Regenerated.
188 2018-04-18 David Malcolm <dmalcolm@redhat.com>
191 * configure: Regenerate.
193 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
196 * configure: Regenerate.
198 2018-01-03 Jakub Jelinek <jakub@redhat.com>
200 * libquadmath.texi: Bump @copying's copyright year.
202 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
204 * Makefile.am: Update AM_CFLAGS.
205 * Makefile.in: Regenerate:
206 * acinclude.m4: Add enable.m4 and cet.m4.
207 * configure: Regenerate.
208 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
210 2017-11-05 Tom de Vries <tom@codesourcery.com>
213 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
216 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
219 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
220 complex __float128 on PowerPC instead of attribute mode TC.
221 * quadmath.h (__complex128): Likewise.
222 * configure: Regenerate.
223 * math/cbrtq.c (CBRT2): Use __float128 not long double.
227 * math/j0q.c (U0): Likewise.
228 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
229 between __float128, instead explicitly convert the __float128
230 value to long double because the PowerPC does not allow __float128
231 and long double in the same expression.
233 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
235 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
237 2017-07-19 Jakub Jelinek <jakub@redhat.com>
240 * quadmath-imp.h (math_opt_barrier, math_force_eval,
241 math_narrow_eval, math_check_force_underflow,
242 math_check_force_underflow_nonneg): Define.
243 * math/ceilq.c: Backport changes from upstream glibc
244 between 2012-11-01 and 2017-07-13.
245 * math/remquoq.c: Likewise.
246 * math/expq.c: Likewise.
247 * math/llroundq.c: Likewise.
248 * math/logq.c: Likewise.
249 * math/atanq.c: Likewise.
250 * math/nearbyintq.c: Likewise.
251 * math/scalblnq.c: Likewise.
252 * math/finiteq.c: Likewise.
253 * math/atanhq.c: Likewise.
254 * math/expm1q.c: Likewise.
255 * math/sinhq.c: Likewise.
256 * math/log10q.c: Likewise.
257 * math/rintq.c: Likewise.
258 * math/roundq.c: Likewise.
259 * math/fmaq.c: Likewise.
260 * math/erfq.c: Likewise.
261 * math/log2q.c: Likewise.
262 * math/lroundq.c: Likewise.
263 * math/j1q.c: Likewise.
264 * math/scalbnq.c: Likewise.
265 * math/truncq.c: Likewise.
266 * math/frexpq.c: Likewise.
267 * math/sincosq.c: Likewise.
268 * math/tanhq.c: Likewise.
269 * math/asinq.c: Likewise.
270 * math/coshq.c: Likewise.
271 * math/j0q.c: Likewise.
272 * math/asinhq.c: Likewise.
273 * math/floorq.c: Likewise.
274 * math/sinq_kernel.c: Likewise.
275 * math/powq.c: Likewise.
276 * math/hypotq.c: Likewise.
277 * math/sincos_table.c: Likewise.
278 * math/rem_pio2q.c: Likewise.
279 * math/nextafterq.c: Likewise.
280 * math/log1pq.c: Likewise.
281 * math/sincosq_kernel.c: Likewise.
282 * math/tanq.c: Likewise.
283 * math/acosq.c: Likewise.
284 * math/lrintq.c: Likewise.
285 * math/llrintq.c: Likewise.
287 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
289 * configure.ac (ACX_BUGURL): Update.
290 * configure: Regenerate.
292 2017-01-17 Jakub Jelinek <jakub@redhat.com>
295 * configure.ac: Add GCC_BASE_VER.
296 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
297 get version from BASE-VER file.
298 * configure: Regenerated.
299 * Makefile.in: Regenerated.
301 2017-01-01 Jakub Jelinek <jakub@redhat.com>
303 * libquadmath.texi: Bump @copying's copyright year.
305 2016-11-15 Matthias Klose <doko@ubuntu.com>
307 * configure: Regenerate.
309 2016-01-04 Jakub Jelinek <jakub@redhat.com>
311 * libquadmath.texi: Bump @copying's copyright year.
313 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
315 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
316 * Makefile.in: Regenerate.
317 * libquadmath.texi: Document logbq.
318 * quadmath.h: Add logbq prototype.
319 * quadmath.map: Add logbq.
320 * quadmath_weak.h: Add logbq prototype.
321 * math/logbq.c: New file
323 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
325 * Makefile.in: Regenerated with automake-1.11.6.
326 * aclocal.m4: Likewise.
327 * configure: Likewise.
329 2015-01-26 Matthias Klose <doko@ubuntu.com>
331 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
332 * configure: Regenerate.
334 2015-01-05 Jakub Jelinek <jakub@redhat.com>
336 * libquadmath.texi: Bump @copying's copyright year.
338 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
341 * configure: Regenerated.
343 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
346 * configure: Regenerate.
348 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
351 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
352 * Makefile.in: Regenerate.
354 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
357 * Makefile.am: Conditionally define info_TEXINFOS and
358 libquadmath_TEXINFOS.
359 * Makefile.in: Regenerate.
361 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
364 * libquadmath.texi (sincosq): Fix typo.
366 2014-01-02 Tobias Burnus <burnus@net-b.de>
368 * libquadmath.texi: Bump @copying's copyright year.
370 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
372 * Makefile.am (AM_CPPFLAGS): Define.
373 * Makefile.in: Regenerate.
374 * printf/gmp-impl.h: Remove path from longlong.h include.
376 2013-09-20 Alan Modra <amodra@gmail.com>
378 * configure: Regenerate.
380 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
383 * quadmath.h: Add 'extern "C"' block for C++ use.
385 2013-02-19 Jakub Jelinek <jakub@redhat.com>
388 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
391 2013-02-17 Tobias Burnus <burnus@net-b.de>
393 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
395 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
397 Revert previous patch.
399 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
401 Update copyright years.
403 2013-01-22 Jakub Jelinek <jakub@redhat.com>
406 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
408 2012-12-13 Jakub Jelinek <jakub@redhat.com>
410 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
411 instead of L suffixed ones.
412 * math/fmaq.c (fmaq): Likewise.
413 * math/rintq.c (TWO112): Likewise.
415 2012-12-03 Tobias Burnus <burnus@net-b.de>
417 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
420 2012-11-25 Tobias Burnus <burnus@net-b.de>
423 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
424 instead of nonexisting HAVE_GET_ROUNDING_MODE.
426 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
429 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
432 2012-11-23 Tobias Burnus <burnus@net-b.de>
433 Joseph Myers <joseph@codesourcery.com>
435 * quadmath-rounding-mode.h: New.
436 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
437 * printf/fpioconst.h: Ditto.
438 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
439 Make printf respect the rounding mode for decimal output.
440 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
441 GLIBC. Make printf respect the rounding mode for hex output.
442 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
443 rounding mode. Fix strtod handling of underflow.
445 2012-11-22 David S. Miller <davem@davemloft.net>
446 Tobias Burnus <burnus@net-b.de>
447 Joseph Myers <joseph@codesourcery.com>
449 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
450 very large arguments properly.
451 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
452 underflow when 'x' is very small.
453 * math/j1q.c (y1q): Ditto.
454 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
455 nonzero exponents with absolute value below 0x1p-128 to
457 * math/powq.c (powq): Update from GLIBC. If xm1 is
458 smaller than LDBL_EPSILON/2.0L, just return xm1.
460 2012-11-21 Tobias Burnus <burnus@net-b.de>
463 * math/lgammaq.c (lgammaq): Use local variable if
464 math.h does not provide signgam.
465 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
466 * configure.ac: Use it.
467 * configure: Regenerate.
468 * config.h.in: Regenerate.
470 2012-11-15 Tobias Burnus <burnus@net-b.de>
471 Joseph Myers <joseph@codesourcery.com>
473 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
474 underflows with small x * y; Fix overflow results
475 outside round-to-nearest mode; make use of Dekker
476 and Knuth algorithms use round-to-nearest.
478 2012-11-01 Tobias Burnus <burnus@net-b.de>
480 * math/fmaq.c (fmaq): Fix build.
482 2012-11-01 Tobias Burnus <burnus@net-b.de>
483 Joseph Myers <joseph@codesourcery.com>
485 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
486 with small x * y using scaling, not as x * y + z.
487 * math/lgammaq.c (lgammaq): Fix signgam handling.
489 2012-11-01 Tobias Burnus <burnus@net-b.de>
491 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
492 * Makefile.in: Regenerated.
493 * math/acoshq.c: Update comment.
494 * math/acosq.c: Ditto.
495 * math/asinhq.c: Ditto.
496 * math/asinq.c: Ditto.
497 * math/atan2q.c: Ditto.
498 * math/atanhq.c: Ditto.
499 * math/ceilq.c: Ditto.
500 * math/copysignq.c: Ditto.
501 * math/cosq.c: Ditto.
502 * math/coshq.c: Ditto.
503 * math/erfq.c: Ditto.
504 * math/fabsq.c: Ditto.
505 * math/finiteq.c: Ditto.
506 * math/floorq.c: Ditto.
507 * math/fmodq.c: Ditto.
508 * math/frexpq.c: Ditto.
509 * math/isnanq.c: Ditto.
512 * math/ldexpq.c: Ditto.
513 * math/llroundq.c: Ditto.
514 * math/log10q.c: Ditto.
515 * math/log1pq.c: Ditto.
516 * math/log2q.c: Ditto.
517 * math/logq.c: Ditto.
518 * math/lroundq.c: Ditto.
519 * math/modfq.c: Ditto.
520 * math/nextafterq.c: Ditto.
521 * math/powq.c: Ditto.
522 * math/rem_pio2q.c: Ditto.
523 * math/remainderq.c: Ditto.
524 * math/rintq.c: Ditto.
525 * math/roundq.c: Ditto.
526 * math/scalblnq.c: Ditto.
527 * math/scalbnq.c: Ditto.
528 * math/sincosq_kernel.c: Ditto.
529 * math/sinq.c: Ditto.
530 * math/tanq.c: Ditto.
531 * math/expq.c: Ditto.
532 (__expq_table, expq): Renamed local array from __expl_table.
533 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
534 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
535 * math/casinhq.c: Changes from GLIBC to fix special-case.
536 * math/cbrtq.c: Use modified GLIBC version.
537 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
538 ctanhq, ctanq): Moved to separates files.
539 (mult_c128, div_c128): Removed no longer needed functions.
540 (cexpiq): Call sincosq instead of sinq and cosq.
541 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
542 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
543 modified based on GLIBC.
544 * math/cexpq.c (cexp): Ditto.
545 * math/clog10q.c (clog10q): Ditto.
546 * math/clogq.c (clogq): Ditto.
547 * math/csinhq.c: Ditto.
548 * math/csinq.c: Ditto.
549 * math/csqrtq.c: Ditto.
550 * math/ctanhq.c: Ditto.
551 * math/ctanq.c: Ditto.
552 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
554 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
555 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
557 * math/lgammaq.c (lgammaq): Add signgam handling.
558 * math/sinhq.c (sinhq): Fix sign handling.
559 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
560 * math/tgammaq.c (tgammaq): Ditto.
561 * math/x2y2m1q.c: New file.
562 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
563 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
565 2012-10-31 Tobias Burnus <burnus@net-b.de>
566 Joseph Myers <joseph@codesourcery.com>
567 David S. Miller <davem@davemloft.net>
568 Ulrich Drepper <drepper@redhat.com>
569 Marek Polacek <polacek@redhat.com>:
570 Petr Baudis <pasky@suse.cz>
572 * math/complex.c (csqrtq): NaN and INF fixes.
573 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
574 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
575 large parameters. Fix errno for boundary conditions.
576 * math/finiteq.c (finiteq): Add comment.
577 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
578 and bad results for some subnormal results. Fix sign of inexact
579 zero return. Fix sign of exact zero return.
580 Ensure additions are not scheduled after fetestexcept.
581 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
582 for ynq. Fix jnq precision.
583 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
584 manipulate bits before adding and subtracting TWO112[sx].
585 * math/rintq.c (rintq): Ditto.
586 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
589 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
591 * configure: Regenerated.
593 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
596 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
597 * configure: Regenerated.
599 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
601 * configure: Regenerated.
603 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
605 * configure: Regenerate.
607 2011-11-07 Kai Tietz <ktietz@redhat.com>
610 * quadmath-imp.h (ieee854_float128): Adjust
611 for ms-bitfield layout.
613 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
615 * printf/gmp-impl.h: Adapt path to longlong.h.
617 2011-09-21 Joseph Myers <joseph@codesourcery.com>
619 * Makefile.am (FLAGS_TO_PASS): Define.
620 * Makefile.in: Regenerate.
622 2011-08-01 Jakub Jelinek <jakub@redhat.com>
624 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
625 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
627 2011-04-03 Tobias Burnus <burnus@net-b.de>
630 * libquadmath.texi (strtoflt128): Fix typo.
631 (quadmath_snprintf): Move note up, make @item.
633 2011-03-25 Jakub Jelinek <jakub@redhat.com>
635 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
638 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
641 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
642 * configure: Regenerate.
644 2011-02-28 Jakub Jelinek <jakub@redhat.com>
646 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
647 that for size > 0 str is always zero terminated.
649 2011-02-20 Jakub Jelinek <jakub@redhat.com>
652 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
654 2011-02-17 Jakub Jelinek <jakub@redhat.com>
656 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
657 FLT128_MAX_10_EXP): Document.
658 (strtoflt128): Remove obsolete comment.
659 * configure.ac (HAVE_STRTOULL): New check.
660 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
662 * printf/mul_n.c: Include <config.h>.
663 * printf/add_n.c: Likewise.
664 * printf/cmp.c: Likewise.
665 * printf/fpioconst.c: Likewise.
666 * printf/mul_1.c: Likewise.
667 * printf/rshift.c: Likewise.
668 * printf/lshift.c: Likewise.
669 * printf/submul_1.c: Likewise.
670 * printf/sub_n.c: Likewise.
671 * printf/divrem.c: Likewise.
672 * printf/addmul_1.c: Likewise.
673 * printf/mul.c: Likewise.
674 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
675 to avoid evaluating argument multiple times.
676 (isxdigit): Redefine.
677 * strtod/strtoflt128.c: New file.
678 * strtod/strtod_l.c: New file.
679 * strtod/mpn2flt128.c: New file.
680 * strtod/grouping.h: New file.
681 * strtod/tens_in_limb.c: New file.
682 * gdtoa/arith.h: Removed.
683 * gdtoa/gd_qnan.h: Removed.
684 * gdtoa/gdtoa_fltrnds.h: Removed.
685 * gdtoa/gdtoa.h: Removed.
686 * gdtoa/gdtoaimp.h: Removed.
687 * gdtoa/gethex.c: Removed.
688 * gdtoa/gmisc.c: Removed.
689 * gdtoa/hd_init.c: Removed.
690 * gdtoa/hexnan.c: Removed.
691 * gdtoa/makefile: Removed.
692 * gdtoa/misc.c: Removed.
693 * gdtoa/README.gdtoa: Removed.
694 * gdtoa/smisc.c: Removed.
695 * gdtoa/strtodg.c: Removed.
696 * gdtoa/strtopQ.c: Removed.
697 * gdtoa/sum.c: Removed.
698 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
700 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
701 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
702 * config.h.in: Regenerated.
703 * configure: Regenerated.
704 * Makefile.in: Regenerated.
706 2011-02-16 Jakub Jelinek <jakub@redhat.com>
708 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
709 whether workarounds for printf hook handling should be added.
711 * configure.ac: Check for locale.h too.
712 (USE_LOCALE_SUPPORT): Remove check.
713 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
714 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
715 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
716 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
718 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
719 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
720 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
721 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
722 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
723 USE_I18N_NUMBER_H #ifdef.
724 * configure: Regenerated.
725 * config.h.in: Regenerated.
727 2011-02-14 Jakub Jelinek <jakub@redhat.com>
730 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
732 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
733 field instead of setting individual fields to 0. Don't set info.user
735 * configure: Regenerated.
737 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
738 * printf/printf_fp.c: Don't include <alloca.h>.
739 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
740 * configure: Regenerated.
743 * libquadmath.texi (quadmath_snprintf): Document.
744 (quadmath_flt128tostr): Remove.
745 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
746 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
747 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
748 * quadmath.h (quadmath_snprintf): New prototype.
749 (quadmath_flt128tostr): Remove.
750 * quadmath_weak.h (quadmath_snprintf): Add.
751 (quadmath_flt128tostr): Remove.
752 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
753 wctype.h, limits.h, ctype.h, printf.h, errno.h.
754 (AC_USE_SYSTEM_EXTENSIONS): Add.
755 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
756 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
757 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
758 quadmath_flt128tostr.
759 * printf/printf_fphex.c: New file.
760 * printf/_itowa.h: New file.
761 * printf/mul_n.c: New file.
762 * printf/quadmath-printf.h: New file.
763 * printf/submul_1.c: New file.
764 * printf/quadmath-printf.c: New file.
765 * printf/gmp-impl.h: New file.
766 * printf/lshift.c: New file.
767 * printf/fpioconst.h: New file.
768 * printf/add_n.c: New file.
769 * printf/cmp.c: New file.
770 * printf/sub_n.c: New file.
771 * printf/mul.c: New file.
772 * printf/divrem.c: New file.
773 * printf/addmul_1.c: New file.
774 * printf/printf_fp.c: New file.
775 * printf/_itoa.h: New file.
776 * printf/fpioconst.c: New file.
777 * printf/_i18n_number.h: New file.
778 * printf/flt1282mpn.c: New file.
779 * printf/rshift.c: New file.
780 * printf/mul_1.c: New file.
781 * quadmath_io.c: Removed.
782 * gdtoa/gdtoa.c: Removed.
783 * gdtoa/g__fmt.c: Removed.
784 * gdtoa/g_Qfmt.c: Removed.
785 * gdtoa/dmisc.c: Removed.
786 * gdtoa/ulp.c: Removed.
787 * config.h.in: Regenerated.
788 * configure: Regenerated.
789 * Makefile.in: Regenerated.
791 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
793 * Makefile.in: Regenerate.
794 * aclocal.m4: Likewise.
795 * configure: Likewise.
797 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
800 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
801 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
803 2011-01-17 Tobias Burnus <burnus@net-b.de>
806 * libquadmath.text: Document typedef and constants.
808 2011-01-17 Tobias Burnus <burnus@net-b.de>
811 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
812 bump copyright year and use /**/ instead of // comments.
814 * quadmath-weak.h: Ditto.
815 * quadmath_io.c: Ditto.
817 2011-01-16 Jakub Jelinek <jakub@redhat.com>
820 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
823 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
824 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
825 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
826 (strtoflt128, quadmath_flt128tostr): Add.
827 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
828 (strtoflt128): ... this. Return __float128, instead of writing
829 to memory pointed by last argument.
830 * quadmath.h: Use C style comments instead of C++ style.
831 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
832 (strtoflt128, quadmath_flt128tostr): Add prototypes.
833 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
834 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
836 * quadmath_io.c (quadmath_dtoaq): Rename to...
837 (quadmath_flt128tostr): ... this.
839 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
840 Use it for all prototypes.
843 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
844 const from prototype argument.
845 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
846 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
847 (__quadmath_extern_inline): Define.
848 (cimagq, conjq, crealq): New inlines.
849 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
850 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
851 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
852 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
853 * Makefile.in: Regenerated.
854 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
855 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
856 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
857 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
858 tests instead of __BIG_ENDIAN__.
859 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
860 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
862 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
863 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
864 * math/cprojq.c: New file.
865 * math/ilogbq.c: New file.
866 * math/fminq.c: New file.
867 * math/llrintq.c: New file.
868 * math/log2q.c: New file.
869 * math/lrintq.c: New file.
870 * math/crealq.c: New file.
871 * math/nearbyintq.c: New file.
872 * math/fmaxq.c: New file.
873 * math/conjq.c: New file.
874 * math/remquoq.c: New file.
875 * math/cimagq.c: New file.
876 * math/fdimq.c: New file.
878 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
881 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
883 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
884 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
885 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
887 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
888 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
889 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
891 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
892 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
894 * Makefile.in: Regenerated.
895 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
896 catanq, catanhq): Add.
897 * math/cacoshq.c: New file.
898 * math/cacosq.c: New file.
899 * math/catanq.c: New file.
900 * math/catanhq.c: New file.
901 * math/casinq.c: New file.
902 * math/casinhq.c: New file.
904 * math/hypotq.c (hypotq): Use Q suffix instead of L.
905 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
906 * math/cosq.c (cosq): Likewise.
909 * quadmath.map (QUADMATH_1.0): Add fmaq.
910 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
911 feupdateenv, fesetenv and fetestexcept.
912 * configure: Regenerated.
913 * config.h.in: Regenerated.
914 * quadmath.h (fmaq): New prototype.
915 * quadmath_weak.h (fmaq): Add.
916 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
917 * Makefile.in: Regenerated.
918 * quadmath-imp.h: Include config.h.
919 * math/expq.c: Include fenv.h.
920 (USE_FENV_H): Define if libm support for fe* is there.
921 (expq): Add fesetround etc. support if USE_FENV_H is defined.
922 * math/fmaq.c: New file.
923 * libquadmath.texi (fmaq): Add.
925 2011-01-14 Tobias Burnus <burnus@net-b.de>
928 * configure.ac: Use ACX_BUGURL.
929 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
930 * Makefile.am: Create libquadmath-vers.texi.
931 * configure.in: Regenerate.
932 * Makefile.in: Regenerate.
934 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
937 * Makefile.am (libquadmath.info): Unconditionally override
938 target, not only if BUILD_LIBQUADMATH.
939 * Makefile.in: Regenerate.
940 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
941 avoid warning from automake.
943 2010-12-19 Tobias Burnus <burnus@net-b.de>
946 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
947 * configure: Regenerate
949 2010-12-13 Tobias Burnus <burnus@net-b.de>
952 * gdtoa/gdtoaimp.h: Mangle internal functions by
953 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
954 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
955 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
956 if NO_STRING_H is set.
957 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
958 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
959 __quadmath prefix to internal functions.
960 * math/cosq.c (cosq): Ditto.
961 * math/sinq.c (cosq): Ditto.
962 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
963 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
964 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
965 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
967 2010-12-08 Tobias Burnus <burnus@net-b.de>
970 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
971 * gdtoa/gdtoaimp.h: Don't declare strtod.
973 2010-12-08 Tobias Burnus <burnus@net-b.de>
976 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
977 AC_TRY_LINK and cache libquad_have_float128.
978 * configure: Regenerate.
980 2010-12-08 Tobias Burnus <burnus@net-b.de>
983 * configure.ac: Add texinfo checks.
984 * Makefile.am: Handle .texi documentation.
985 * libquadmath.texi: New.
986 * configure: Regenerated.
987 * Makefile.in: Regenerated.
989 2010-12-06 Tobias Burnus <burnus@net-b.de>
992 * quadmath-imp.h: Add LGPL header.
993 * quadmath.h: Add LGPL header.
994 * quadmath_io.c: Add LGPL header.
995 * quadmath_weak.h: Add LGPL header.
997 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
1001 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
1002 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
1003 * aclocal.m4: Regenerate.
1004 * configure: Regenerate.
1005 * Makefile.in: Regenerate.
1007 2010-11-30 Tobias Burnus <burnus@net-b.de>
1010 * Makefile.am: Install include files in
1011 target/version specific directory.
1012 * Makefile.in: Regenerate.
1014 2010-11-30 Tobias Burnus <burnus@net-b.de>
1016 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
1017 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
1018 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1020 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
1022 * configure: Regenerated.
1023 * Makefile.in: Regenerated.
1024 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1025 (target_alias): Use AC_SUBST for it.
1026 (GCC_NO_EXECUTABLES): Call it.
1027 (AC_PROG_CC): Improve multilib handling.
1028 Check that gcc is used for compilation.
1029 Use pattern from libssp for symbol versioning checking.
1030 * Makefile.am (LTLDFLAGS): Removed.
1031 (libquadmath_la_LDFLAGS): Add -no-undefined.
1032 (libquadmath_la_LINK): Commented out.
1033 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1034 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1035 (MAKEOVERRIDES): New.
1036 * aclocal.m4: Regenerated.
1038 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1040 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1041 (libquadmath_la_LDFLAGS): ... here.
1042 (quadmath.map-sun): Tabify.
1044 * Makefile.in: Regenerate.
1046 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1047 Tobias Burnus <burnus@net-b.de>
1050 Initial implementation and checkin.
1052 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1054 Copying and distribution of this file, with or without modification,
1055 are permitted in any medium without royalty provided the copyright
1056 notice and this notice are preserved.