1 2021-06-08 Martin Liska <mliska@suse.cz>
3 * libquadmath.texi: Fix typo.
5 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7 * configure: Re-generate.
9 2021-01-01 Jakub Jelinek <jakub@redhat.com>
11 * libquadmath.texi: Bump @copying's copyright year.
13 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
16 * configure: Regenerate.
18 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
20 * configure: Regenerate.
22 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
25 * configure: Regenerated.
27 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
30 * configure: Regenerated.
32 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
34 * configure: Regenerated.
36 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
41 * configure: Regenerated.
43 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
45 * configure.ac: Handle `--with-toolexeclibdir='.
46 * Makefile.in: Regenerate.
47 * aclocal.m4: Regenerate.
48 * configure: Regenerate.
50 2020-01-01 Jakub Jelinek <jakub@redhat.com>
52 Update copyright years.
54 * libquadmath.texi: Bump @copying's copyright year.
56 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
58 * configure: Regenerate.
60 2019-08-02 Jakub Jelinek <jakub@redhat.com>
62 * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
63 M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
64 M_SQRT1_2q): Use two more decimal places.
66 2019-01-01 Jakub Jelinek <jakub@redhat.com>
68 Update copyright years.
70 * libquadmath.texi: Bump @copying's copyright year.
72 2018-12-11 Jakub Jelinek <jakub@redhat.com>
75 * quadmath_weak.h (__qmath2): Add __quadmath_throw.
77 2018-11-07 Joseph Myers <joseph@codesourcery.com>
79 * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
80 mantissa2 and mantissa3 fields instead of mant_high and mant_low.
81 Change nan field to ieee_nan.
82 * update-quadmath.py (update_sources): Also update fmaq.c.
83 * math/nanq.c (nanq): Use ieee_nan field of union.
84 Zero-initialize f. Set quiet_nan field.
85 * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
86 strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
87 mantissa3 fields. Use ieee_nan and quiet_nan field.
88 * math/fmaq.c: Regenerate from glibc sources with
91 2018-11-05 Joseph Myers <joseph@codesourcery.com>
94 * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
95 Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
96 math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
97 math/casinhq_kernel.c.
98 * Makefile.in: Regenerate.
99 * libquadmath.texi (exp2q, issignalingq): Document.
100 * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
102 (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
103 (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
104 (__quadmath_gamma_productq, __quadmath_gammaq_r)
105 (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
106 (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
107 (math_check_force_underflow_complex, __glibc_likely)
108 (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
109 (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
110 (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
111 (fesetenv, fetestexcept, feclearexcept): Define if not supported
113 (__quadmath_isinf_nsq): Remove.
114 * quadmath.h (exp2q, issignalingq): New.
115 * quadmath.map (QUADMATH_1.2): New.
116 * quadmath_weak.h (exp2q, issignalingq): New.
117 * update-quadmath.py: New file.
118 * math/isinf_nsq.c: Remove file.
119 * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
120 math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
121 math/tanq_kernel.c, math/tgammaq_product.c: New files. Generated
122 from glibc sources with update-quadmath.py.
123 * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
124 math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
125 math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
126 math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
127 math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
128 math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
129 math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
130 math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
131 math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
132 math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
133 math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
134 math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
135 math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
136 math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
137 math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
138 math/lroundq.c, math/modfq.c, math/nearbyintq.c,
139 math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
140 math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
141 math/signbitq.c, math/sincos_table.c, math/sincosq.c,
142 math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
143 math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
144 math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
147 2018-10-31 Joseph Myers <joseph@codesourcery.com>
150 * Makefile.am: Include multilib.am.
151 (AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
152 (all-local): Define outside conditional code.
153 (CLEANFILES): Remove libquadmath.info.
154 * configure.ac: Remove AC_PREREQ.
155 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
157 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
159 * configure: Regenerated.
161 2018-04-19 Jakub Jelinek <jakub@redhat.com>
163 * configure: Regenerated.
165 2018-04-18 David Malcolm <dmalcolm@redhat.com>
168 * configure: Regenerate.
170 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
173 * configure: Regenerate.
175 2018-01-03 Jakub Jelinek <jakub@redhat.com>
177 * libquadmath.texi: Bump @copying's copyright year.
179 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
181 * Makefile.am: Update AM_CFLAGS.
182 * Makefile.in: Regenerate:
183 * acinclude.m4: Add enable.m4 and cet.m4.
184 * configure: Regenerate.
185 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
187 2017-11-05 Tom de Vries <tom@codesourcery.com>
190 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
193 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
196 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
197 complex __float128 on PowerPC instead of attribute mode TC.
198 * quadmath.h (__complex128): Likewise.
199 * configure: Regenerate.
200 * math/cbrtq.c (CBRT2): Use __float128 not long double.
204 * math/j0q.c (U0): Likewise.
205 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
206 between __float128, instead explicitly convert the __float128
207 value to long double because the PowerPC does not allow __float128
208 and long double in the same expression.
210 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
212 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
214 2017-07-19 Jakub Jelinek <jakub@redhat.com>
217 * quadmath-imp.h (math_opt_barrier, math_force_eval,
218 math_narrow_eval, math_check_force_underflow,
219 math_check_force_underflow_nonneg): Define.
220 * math/ceilq.c: Backport changes from upstream glibc
221 between 2012-11-01 and 2017-07-13.
222 * math/remquoq.c: Likewise.
223 * math/expq.c: Likewise.
224 * math/llroundq.c: Likewise.
225 * math/logq.c: Likewise.
226 * math/atanq.c: Likewise.
227 * math/nearbyintq.c: Likewise.
228 * math/scalblnq.c: Likewise.
229 * math/finiteq.c: Likewise.
230 * math/atanhq.c: Likewise.
231 * math/expm1q.c: Likewise.
232 * math/sinhq.c: Likewise.
233 * math/log10q.c: Likewise.
234 * math/rintq.c: Likewise.
235 * math/roundq.c: Likewise.
236 * math/fmaq.c: Likewise.
237 * math/erfq.c: Likewise.
238 * math/log2q.c: Likewise.
239 * math/lroundq.c: Likewise.
240 * math/j1q.c: Likewise.
241 * math/scalbnq.c: Likewise.
242 * math/truncq.c: Likewise.
243 * math/frexpq.c: Likewise.
244 * math/sincosq.c: Likewise.
245 * math/tanhq.c: Likewise.
246 * math/asinq.c: Likewise.
247 * math/coshq.c: Likewise.
248 * math/j0q.c: Likewise.
249 * math/asinhq.c: Likewise.
250 * math/floorq.c: Likewise.
251 * math/sinq_kernel.c: Likewise.
252 * math/powq.c: Likewise.
253 * math/hypotq.c: Likewise.
254 * math/sincos_table.c: Likewise.
255 * math/rem_pio2q.c: Likewise.
256 * math/nextafterq.c: Likewise.
257 * math/log1pq.c: Likewise.
258 * math/sincosq_kernel.c: Likewise.
259 * math/tanq.c: Likewise.
260 * math/acosq.c: Likewise.
261 * math/lrintq.c: Likewise.
262 * math/llrintq.c: Likewise.
264 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
266 * configure.ac (ACX_BUGURL): Update.
267 * configure: Regenerate.
269 2017-01-17 Jakub Jelinek <jakub@redhat.com>
272 * configure.ac: Add GCC_BASE_VER.
273 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
274 get version from BASE-VER file.
275 * configure: Regenerated.
276 * Makefile.in: Regenerated.
278 2017-01-01 Jakub Jelinek <jakub@redhat.com>
280 * libquadmath.texi: Bump @copying's copyright year.
282 2016-11-15 Matthias Klose <doko@ubuntu.com>
284 * configure: Regenerate.
286 2016-01-04 Jakub Jelinek <jakub@redhat.com>
288 * libquadmath.texi: Bump @copying's copyright year.
290 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
292 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
293 * Makefile.in: Regenerate.
294 * libquadmath.texi: Document logbq.
295 * quadmath.h: Add logbq prototype.
296 * quadmath.map: Add logbq.
297 * quadmath_weak.h: Add logbq prototype.
298 * math/logbq.c: New file
300 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
302 * Makefile.in: Regenerated with automake-1.11.6.
303 * aclocal.m4: Likewise.
304 * configure: Likewise.
306 2015-01-26 Matthias Klose <doko@ubuntu.com>
308 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
309 * configure: Regenerate.
311 2015-01-05 Jakub Jelinek <jakub@redhat.com>
313 * libquadmath.texi: Bump @copying's copyright year.
315 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
318 * configure: Regenerated.
320 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
323 * configure: Regenerate.
325 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
328 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
329 * Makefile.in: Regenerate.
331 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
334 * Makefile.am: Conditionally define info_TEXINFOS and
335 libquadmath_TEXINFOS.
336 * Makefile.in: Regenerate.
338 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
341 * libquadmath.texi (sincosq): Fix typo.
343 2014-01-02 Tobias Burnus <burnus@net-b.de>
345 * libquadmath.texi: Bump @copying's copyright year.
347 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
349 * Makefile.am (AM_CPPFLAGS): Define.
350 * Makefile.in: Regenerate.
351 * printf/gmp-impl.h: Remove path from longlong.h include.
353 2013-09-20 Alan Modra <amodra@gmail.com>
355 * configure: Regenerate.
357 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
360 * quadmath.h: Add 'extern "C"' block for C++ use.
362 2013-02-19 Jakub Jelinek <jakub@redhat.com>
365 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
368 2013-02-17 Tobias Burnus <burnus@net-b.de>
370 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
372 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
374 Revert previous patch.
376 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
378 Update copyright years.
380 2013-01-22 Jakub Jelinek <jakub@redhat.com>
383 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
385 2012-12-13 Jakub Jelinek <jakub@redhat.com>
387 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
388 instead of L suffixed ones.
389 * math/fmaq.c (fmaq): Likewise.
390 * math/rintq.c (TWO112): Likewise.
392 2012-12-03 Tobias Burnus <burnus@net-b.de>
394 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
397 2012-11-25 Tobias Burnus <burnus@net-b.de>
400 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
401 instead of nonexisting HAVE_GET_ROUNDING_MODE.
403 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
406 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
409 2012-11-23 Tobias Burnus <burnus@net-b.de>
410 Joseph Myers <joseph@codesourcery.com>
412 * quadmath-rounding-mode.h: New.
413 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
414 * printf/fpioconst.h: Ditto.
415 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
416 Make printf respect the rounding mode for decimal output.
417 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
418 GLIBC. Make printf respect the rounding mode for hex output.
419 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
420 rounding mode. Fix strtod handling of underflow.
422 2012-11-22 David S. Miller <davem@davemloft.net>
423 Tobias Burnus <burnus@net-b.de>
424 Joseph Myers <joseph@codesourcery.com>
426 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
427 very large arguments properly.
428 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
429 underflow when 'x' is very small.
430 * math/j1q.c (y1q): Ditto.
431 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
432 nonzero exponents with absolute value below 0x1p-128 to
434 * math/powq.c (powq): Update from GLIBC. If xm1 is
435 smaller than LDBL_EPSILON/2.0L, just return xm1.
437 2012-11-21 Tobias Burnus <burnus@net-b.de>
440 * math/lgammaq.c (lgammaq): Use local variable if
441 math.h does not provide signgam.
442 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
443 * configure.ac: Use it.
444 * configure: Regenerate.
445 * config.h.in: Regenerate.
447 2012-11-15 Tobias Burnus <burnus@net-b.de>
448 Joseph Myers <joseph@codesourcery.com>
450 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
451 underflows with small x * y; Fix overflow results
452 outside round-to-nearest mode; make use of Dekker
453 and Knuth algorithms use round-to-nearest.
455 2012-11-01 Tobias Burnus <burnus@net-b.de>
457 * math/fmaq.c (fmaq): Fix build.
459 2012-11-01 Tobias Burnus <burnus@net-b.de>
460 Joseph Myers <joseph@codesourcery.com>
462 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
463 with small x * y using scaling, not as x * y + z.
464 * math/lgammaq.c (lgammaq): Fix signgam handling.
466 2012-11-01 Tobias Burnus <burnus@net-b.de>
468 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
469 * Makefile.in: Regenerated.
470 * math/acoshq.c: Update comment.
471 * math/acosq.c: Ditto.
472 * math/asinhq.c: Ditto.
473 * math/asinq.c: Ditto.
474 * math/atan2q.c: Ditto.
475 * math/atanhq.c: Ditto.
476 * math/ceilq.c: Ditto.
477 * math/copysignq.c: Ditto.
478 * math/cosq.c: Ditto.
479 * math/coshq.c: Ditto.
480 * math/erfq.c: Ditto.
481 * math/fabsq.c: Ditto.
482 * math/finiteq.c: Ditto.
483 * math/floorq.c: Ditto.
484 * math/fmodq.c: Ditto.
485 * math/frexpq.c: Ditto.
486 * math/isnanq.c: Ditto.
489 * math/ldexpq.c: Ditto.
490 * math/llroundq.c: Ditto.
491 * math/log10q.c: Ditto.
492 * math/log1pq.c: Ditto.
493 * math/log2q.c: Ditto.
494 * math/logq.c: Ditto.
495 * math/lroundq.c: Ditto.
496 * math/modfq.c: Ditto.
497 * math/nextafterq.c: Ditto.
498 * math/powq.c: Ditto.
499 * math/rem_pio2q.c: Ditto.
500 * math/remainderq.c: Ditto.
501 * math/rintq.c: Ditto.
502 * math/roundq.c: Ditto.
503 * math/scalblnq.c: Ditto.
504 * math/scalbnq.c: Ditto.
505 * math/sincosq_kernel.c: Ditto.
506 * math/sinq.c: Ditto.
507 * math/tanq.c: Ditto.
508 * math/expq.c: Ditto.
509 (__expq_table, expq): Renamed local array from __expl_table.
510 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
511 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
512 * math/casinhq.c: Changes from GLIBC to fix special-case.
513 * math/cbrtq.c: Use modified GLIBC version.
514 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
515 ctanhq, ctanq): Moved to separates files.
516 (mult_c128, div_c128): Removed no longer needed functions.
517 (cexpiq): Call sincosq instead of sinq and cosq.
518 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
519 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
520 modified based on GLIBC.
521 * math/cexpq.c (cexp): Ditto.
522 * math/clog10q.c (clog10q): Ditto.
523 * math/clogq.c (clogq): Ditto.
524 * math/csinhq.c: Ditto.
525 * math/csinq.c: Ditto.
526 * math/csqrtq.c: Ditto.
527 * math/ctanhq.c: Ditto.
528 * math/ctanq.c: Ditto.
529 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
531 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
532 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
534 * math/lgammaq.c (lgammaq): Add signgam handling.
535 * math/sinhq.c (sinhq): Fix sign handling.
536 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
537 * math/tgammaq.c (tgammaq): Ditto.
538 * math/x2y2m1q.c: New file.
539 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
540 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
542 2012-10-31 Tobias Burnus <burnus@net-b.de>
543 Joseph Myers <joseph@codesourcery.com>
544 David S. Miller <davem@davemloft.net>
545 Ulrich Drepper <drepper@redhat.com>
546 Marek Polacek <polacek@redhat.com>:
547 Petr Baudis <pasky@suse.cz>
549 * math/complex.c (csqrtq): NaN and INF fixes.
550 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
551 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
552 large parameters. Fix errno for boundary conditions.
553 * math/finiteq.c (finiteq): Add comment.
554 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
555 and bad results for some subnormal results. Fix sign of inexact
556 zero return. Fix sign of exact zero return.
557 Ensure additions are not scheduled after fetestexcept.
558 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
559 for ynq. Fix jnq precision.
560 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
561 manipulate bits before adding and subtracting TWO112[sx].
562 * math/rintq.c (rintq): Ditto.
563 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
566 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
568 * configure: Regenerated.
570 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
573 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
574 * configure: Regenerated.
576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
578 * configure: Regenerated.
580 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
582 * configure: Regenerate.
584 2011-11-07 Kai Tietz <ktietz@redhat.com>
587 * quadmath-imp.h (ieee854_float128): Adjust
588 for ms-bitfield layout.
590 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
592 * printf/gmp-impl.h: Adapt path to longlong.h.
594 2011-09-21 Joseph Myers <joseph@codesourcery.com>
596 * Makefile.am (FLAGS_TO_PASS): Define.
597 * Makefile.in: Regenerate.
599 2011-08-01 Jakub Jelinek <jakub@redhat.com>
601 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
602 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
604 2011-04-03 Tobias Burnus <burnus@net-b.de>
607 * libquadmath.texi (strtoflt128): Fix typo.
608 (quadmath_snprintf): Move note up, make @item.
610 2011-03-25 Jakub Jelinek <jakub@redhat.com>
612 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
615 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
618 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
619 * configure: Regenerate.
621 2011-02-28 Jakub Jelinek <jakub@redhat.com>
623 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
624 that for size > 0 str is always zero terminated.
626 2011-02-20 Jakub Jelinek <jakub@redhat.com>
629 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
631 2011-02-17 Jakub Jelinek <jakub@redhat.com>
633 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
634 FLT128_MAX_10_EXP): Document.
635 (strtoflt128): Remove obsolete comment.
636 * configure.ac (HAVE_STRTOULL): New check.
637 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
639 * printf/mul_n.c: Include <config.h>.
640 * printf/add_n.c: Likewise.
641 * printf/cmp.c: Likewise.
642 * printf/fpioconst.c: Likewise.
643 * printf/mul_1.c: Likewise.
644 * printf/rshift.c: Likewise.
645 * printf/lshift.c: Likewise.
646 * printf/submul_1.c: Likewise.
647 * printf/sub_n.c: Likewise.
648 * printf/divrem.c: Likewise.
649 * printf/addmul_1.c: Likewise.
650 * printf/mul.c: Likewise.
651 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
652 to avoid evaluating argument multiple times.
653 (isxdigit): Redefine.
654 * strtod/strtoflt128.c: New file.
655 * strtod/strtod_l.c: New file.
656 * strtod/mpn2flt128.c: New file.
657 * strtod/grouping.h: New file.
658 * strtod/tens_in_limb.c: New file.
659 * gdtoa/arith.h: Removed.
660 * gdtoa/gd_qnan.h: Removed.
661 * gdtoa/gdtoa_fltrnds.h: Removed.
662 * gdtoa/gdtoa.h: Removed.
663 * gdtoa/gdtoaimp.h: Removed.
664 * gdtoa/gethex.c: Removed.
665 * gdtoa/gmisc.c: Removed.
666 * gdtoa/hd_init.c: Removed.
667 * gdtoa/hexnan.c: Removed.
668 * gdtoa/makefile: Removed.
669 * gdtoa/misc.c: Removed.
670 * gdtoa/README.gdtoa: Removed.
671 * gdtoa/smisc.c: Removed.
672 * gdtoa/strtodg.c: Removed.
673 * gdtoa/strtopQ.c: Removed.
674 * gdtoa/sum.c: Removed.
675 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
677 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
678 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
679 * config.h.in: Regenerated.
680 * configure: Regenerated.
681 * Makefile.in: Regenerated.
683 2011-02-16 Jakub Jelinek <jakub@redhat.com>
685 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
686 whether workarounds for printf hook handling should be added.
688 * configure.ac: Check for locale.h too.
689 (USE_LOCALE_SUPPORT): Remove check.
690 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
691 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
692 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
693 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
695 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
696 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
697 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
698 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
699 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
700 USE_I18N_NUMBER_H #ifdef.
701 * configure: Regenerated.
702 * config.h.in: Regenerated.
704 2011-02-14 Jakub Jelinek <jakub@redhat.com>
707 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
709 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
710 field instead of setting individual fields to 0. Don't set info.user
712 * configure: Regenerated.
714 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
715 * printf/printf_fp.c: Don't include <alloca.h>.
716 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
717 * configure: Regenerated.
720 * libquadmath.texi (quadmath_snprintf): Document.
721 (quadmath_flt128tostr): Remove.
722 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
723 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
724 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
725 * quadmath.h (quadmath_snprintf): New prototype.
726 (quadmath_flt128tostr): Remove.
727 * quadmath_weak.h (quadmath_snprintf): Add.
728 (quadmath_flt128tostr): Remove.
729 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
730 wctype.h, limits.h, ctype.h, printf.h, errno.h.
731 (AC_USE_SYSTEM_EXTENSIONS): Add.
732 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
733 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
734 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
735 quadmath_flt128tostr.
736 * printf/printf_fphex.c: New file.
737 * printf/_itowa.h: New file.
738 * printf/mul_n.c: New file.
739 * printf/quadmath-printf.h: New file.
740 * printf/submul_1.c: New file.
741 * printf/quadmath-printf.c: New file.
742 * printf/gmp-impl.h: New file.
743 * printf/lshift.c: New file.
744 * printf/fpioconst.h: New file.
745 * printf/add_n.c: New file.
746 * printf/cmp.c: New file.
747 * printf/sub_n.c: New file.
748 * printf/mul.c: New file.
749 * printf/divrem.c: New file.
750 * printf/addmul_1.c: New file.
751 * printf/printf_fp.c: New file.
752 * printf/_itoa.h: New file.
753 * printf/fpioconst.c: New file.
754 * printf/_i18n_number.h: New file.
755 * printf/flt1282mpn.c: New file.
756 * printf/rshift.c: New file.
757 * printf/mul_1.c: New file.
758 * quadmath_io.c: Removed.
759 * gdtoa/gdtoa.c: Removed.
760 * gdtoa/g__fmt.c: Removed.
761 * gdtoa/g_Qfmt.c: Removed.
762 * gdtoa/dmisc.c: Removed.
763 * gdtoa/ulp.c: Removed.
764 * config.h.in: Regenerated.
765 * configure: Regenerated.
766 * Makefile.in: Regenerated.
768 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
770 * Makefile.in: Regenerate.
771 * aclocal.m4: Likewise.
772 * configure: Likewise.
774 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
777 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
778 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
780 2011-01-17 Tobias Burnus <burnus@net-b.de>
783 * libquadmath.text: Document typedef and constants.
785 2011-01-17 Tobias Burnus <burnus@net-b.de>
788 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
789 bump copyright year and use /**/ instead of // comments.
791 * quadmath-weak.h: Ditto.
792 * quadmath_io.c: Ditto.
794 2011-01-16 Jakub Jelinek <jakub@redhat.com>
797 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
800 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
801 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
802 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
803 (strtoflt128, quadmath_flt128tostr): Add.
804 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
805 (strtoflt128): ... this. Return __float128, instead of writing
806 to memory pointed by last argument.
807 * quadmath.h: Use C style comments instead of C++ style.
808 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
809 (strtoflt128, quadmath_flt128tostr): Add prototypes.
810 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
811 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
813 * quadmath_io.c (quadmath_dtoaq): Rename to...
814 (quadmath_flt128tostr): ... this.
816 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
817 Use it for all prototypes.
820 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
821 const from prototype argument.
822 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
823 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
824 (__quadmath_extern_inline): Define.
825 (cimagq, conjq, crealq): New inlines.
826 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
827 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
828 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
829 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
830 * Makefile.in: Regenerated.
831 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
832 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
833 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
834 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
835 tests instead of __BIG_ENDIAN__.
836 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
837 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
839 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
840 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
841 * math/cprojq.c: New file.
842 * math/ilogbq.c: New file.
843 * math/fminq.c: New file.
844 * math/llrintq.c: New file.
845 * math/log2q.c: New file.
846 * math/lrintq.c: New file.
847 * math/crealq.c: New file.
848 * math/nearbyintq.c: New file.
849 * math/fmaxq.c: New file.
850 * math/conjq.c: New file.
851 * math/remquoq.c: New file.
852 * math/cimagq.c: New file.
853 * math/fdimq.c: New file.
855 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
858 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
860 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
861 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
862 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
864 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
865 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
866 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
868 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
869 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
871 * Makefile.in: Regenerated.
872 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
873 catanq, catanhq): Add.
874 * math/cacoshq.c: New file.
875 * math/cacosq.c: New file.
876 * math/catanq.c: New file.
877 * math/catanhq.c: New file.
878 * math/casinq.c: New file.
879 * math/casinhq.c: New file.
881 * math/hypotq.c (hypotq): Use Q suffix instead of L.
882 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
883 * math/cosq.c (cosq): Likewise.
886 * quadmath.map (QUADMATH_1.0): Add fmaq.
887 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
888 feupdateenv, fesetenv and fetestexcept.
889 * configure: Regenerated.
890 * config.h.in: Regenerated.
891 * quadmath.h (fmaq): New prototype.
892 * quadmath_weak.h (fmaq): Add.
893 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
894 * Makefile.in: Regenerated.
895 * quadmath-imp.h: Include config.h.
896 * math/expq.c: Include fenv.h.
897 (USE_FENV_H): Define if libm support for fe* is there.
898 (expq): Add fesetround etc. support if USE_FENV_H is defined.
899 * math/fmaq.c: New file.
900 * libquadmath.texi (fmaq): Add.
902 2011-01-14 Tobias Burnus <burnus@net-b.de>
905 * configure.ac: Use ACX_BUGURL.
906 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
907 * Makefile.am: Create libquadmath-vers.texi.
908 * configure.in: Regenerate.
909 * Makefile.in: Regenerate.
911 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
914 * Makefile.am (libquadmath.info): Unconditionally override
915 target, not only if BUILD_LIBQUADMATH.
916 * Makefile.in: Regenerate.
917 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
918 avoid warning from automake.
920 2010-12-19 Tobias Burnus <burnus@net-b.de>
923 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
924 * configure: Regenerate
926 2010-12-13 Tobias Burnus <burnus@net-b.de>
929 * gdtoa/gdtoaimp.h: Mangle internal functions by
930 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
931 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
932 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
933 if NO_STRING_H is set.
934 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
935 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
936 __quadmath prefix to internal functions.
937 * math/cosq.c (cosq): Ditto.
938 * math/sinq.c (cosq): Ditto.
939 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
940 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
941 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
942 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
944 2010-12-08 Tobias Burnus <burnus@net-b.de>
947 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
948 * gdtoa/gdtoaimp.h: Don't declare strtod.
950 2010-12-08 Tobias Burnus <burnus@net-b.de>
953 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
954 AC_TRY_LINK and cache libquad_have_float128.
955 * configure: Regenerate.
957 2010-12-08 Tobias Burnus <burnus@net-b.de>
960 * configure.ac: Add texinfo checks.
961 * Makefile.am: Handle .texi documentation.
962 * libquadmath.texi: New.
963 * configure: Regenerated.
964 * Makefile.in: Regenerated.
966 2010-12-06 Tobias Burnus <burnus@net-b.de>
969 * quadmath-imp.h: Add LGPL header.
970 * quadmath.h: Add LGPL header.
971 * quadmath_io.c: Add LGPL header.
972 * quadmath_weak.h: Add LGPL header.
974 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
978 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
979 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
980 * aclocal.m4: Regenerate.
981 * configure: Regenerate.
982 * Makefile.in: Regenerate.
984 2010-11-30 Tobias Burnus <burnus@net-b.de>
987 * Makefile.am: Install include files in
988 target/version specific directory.
989 * Makefile.in: Regenerate.
991 2010-11-30 Tobias Burnus <burnus@net-b.de>
993 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
994 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
995 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
997 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
999 * configure: Regenerated.
1000 * Makefile.in: Regenerated.
1001 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1002 (target_alias): Use AC_SUBST for it.
1003 (GCC_NO_EXECUTABLES): Call it.
1004 (AC_PROG_CC): Improve multilib handling.
1005 Check that gcc is used for compilation.
1006 Use pattern from libssp for symbol versioning checking.
1007 * Makefile.am (LTLDFLAGS): Removed.
1008 (libquadmath_la_LDFLAGS): Add -no-undefined.
1009 (libquadmath_la_LINK): Commented out.
1010 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1011 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1012 (MAKEOVERRIDES): New.
1013 * aclocal.m4: Regenerated.
1015 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1017 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1018 (libquadmath_la_LDFLAGS): ... here.
1019 (quadmath.map-sun): Tabify.
1021 * Makefile.in: Regenerate.
1023 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1024 Tobias Burnus <burnus@net-b.de>
1027 Initial implementation and checkin.
1029 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1031 Copying and distribution of this file, with or without modification,
1032 are permitted in any medium without royalty provided the copyright
1033 notice and this notice are preserved.