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