1 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
4 * configure: Regenerated.
6 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
8 * configure: Regenerated.
10 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
15 * configure: Regenerated.
17 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
19 * configure.ac: Handle `--with-toolexeclibdir='.
20 * Makefile.in: Regenerate.
21 * aclocal.m4: Regenerate.
22 * configure: Regenerate.
24 2020-01-01 Jakub Jelinek <jakub@redhat.com>
26 Update copyright years.
28 * libquadmath.texi: Bump @copying's copyright year.
30 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
32 * configure: Regenerate.
34 2019-08-02 Jakub Jelinek <jakub@redhat.com>
36 * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
37 M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
38 M_SQRT1_2q): Use two more decimal places.
40 2019-01-01 Jakub Jelinek <jakub@redhat.com>
42 Update copyright years.
44 * libquadmath.texi: Bump @copying's copyright year.
46 2018-12-11 Jakub Jelinek <jakub@redhat.com>
49 * quadmath_weak.h (__qmath2): Add __quadmath_throw.
51 2018-11-07 Joseph Myers <joseph@codesourcery.com>
53 * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
54 mantissa2 and mantissa3 fields instead of mant_high and mant_low.
55 Change nan field to ieee_nan.
56 * update-quadmath.py (update_sources): Also update fmaq.c.
57 * math/nanq.c (nanq): Use ieee_nan field of union.
58 Zero-initialize f. Set quiet_nan field.
59 * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
60 strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
61 mantissa3 fields. Use ieee_nan and quiet_nan field.
62 * math/fmaq.c: Regenerate from glibc sources with
65 2018-11-05 Joseph Myers <joseph@codesourcery.com>
68 * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
69 Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
70 math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
71 math/casinhq_kernel.c.
72 * Makefile.in: Regenerate.
73 * libquadmath.texi (exp2q, issignalingq): Document.
74 * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
76 (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
77 (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
78 (__quadmath_gamma_productq, __quadmath_gammaq_r)
79 (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
80 (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
81 (math_check_force_underflow_complex, __glibc_likely)
82 (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
83 (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
84 (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
85 (fesetenv, fetestexcept, feclearexcept): Define if not supported
87 (__quadmath_isinf_nsq): Remove.
88 * quadmath.h (exp2q, issignalingq): New.
89 * quadmath.map (QUADMATH_1.2): New.
90 * quadmath_weak.h (exp2q, issignalingq): New.
91 * update-quadmath.py: New file.
92 * math/isinf_nsq.c: Remove file.
93 * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
94 math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
95 math/tanq_kernel.c, math/tgammaq_product.c: New files. Generated
96 from glibc sources with update-quadmath.py.
97 * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
98 math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
99 math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
100 math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
101 math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
102 math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
103 math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
104 math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
105 math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
106 math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
107 math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
108 math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
109 math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
110 math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
111 math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
112 math/lroundq.c, math/modfq.c, math/nearbyintq.c,
113 math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
114 math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
115 math/signbitq.c, math/sincos_table.c, math/sincosq.c,
116 math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
117 math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
118 math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
121 2018-10-31 Joseph Myers <joseph@codesourcery.com>
124 * Makefile.am: Include multilib.am.
125 (AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
126 (all-local): Define outside conditional code.
127 (CLEANFILES): Remove libquadmath.info.
128 * configure.ac: Remove AC_PREREQ.
129 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
131 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
133 * configure: Regenerated.
135 2018-04-19 Jakub Jelinek <jakub@redhat.com>
137 * configure: Regenerated.
139 2018-04-18 David Malcolm <dmalcolm@redhat.com>
142 * configure: Regenerate.
144 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
147 * configure: Regenerate.
149 2018-01-03 Jakub Jelinek <jakub@redhat.com>
151 * libquadmath.texi: Bump @copying's copyright year.
153 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
155 * Makefile.am: Update AM_CFLAGS.
156 * Makefile.in: Regenerate:
157 * acinclude.m4: Add enable.m4 and cet.m4.
158 * configure: Regenerate.
159 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
161 2017-11-05 Tom de Vries <tom@codesourcery.com>
164 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
167 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
170 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
171 complex __float128 on PowerPC instead of attribute mode TC.
172 * quadmath.h (__complex128): Likewise.
173 * configure: Regenerate.
174 * math/cbrtq.c (CBRT2): Use __float128 not long double.
178 * math/j0q.c (U0): Likewise.
179 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
180 between __float128, instead explicitly convert the __float128
181 value to long double because the PowerPC does not allow __float128
182 and long double in the same expression.
184 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
186 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
188 2017-07-19 Jakub Jelinek <jakub@redhat.com>
191 * quadmath-imp.h (math_opt_barrier, math_force_eval,
192 math_narrow_eval, math_check_force_underflow,
193 math_check_force_underflow_nonneg): Define.
194 * math/ceilq.c: Backport changes from upstream glibc
195 between 2012-11-01 and 2017-07-13.
196 * math/remquoq.c: Likewise.
197 * math/expq.c: Likewise.
198 * math/llroundq.c: Likewise.
199 * math/logq.c: Likewise.
200 * math/atanq.c: Likewise.
201 * math/nearbyintq.c: Likewise.
202 * math/scalblnq.c: Likewise.
203 * math/finiteq.c: Likewise.
204 * math/atanhq.c: Likewise.
205 * math/expm1q.c: Likewise.
206 * math/sinhq.c: Likewise.
207 * math/log10q.c: Likewise.
208 * math/rintq.c: Likewise.
209 * math/roundq.c: Likewise.
210 * math/fmaq.c: Likewise.
211 * math/erfq.c: Likewise.
212 * math/log2q.c: Likewise.
213 * math/lroundq.c: Likewise.
214 * math/j1q.c: Likewise.
215 * math/scalbnq.c: Likewise.
216 * math/truncq.c: Likewise.
217 * math/frexpq.c: Likewise.
218 * math/sincosq.c: Likewise.
219 * math/tanhq.c: Likewise.
220 * math/asinq.c: Likewise.
221 * math/coshq.c: Likewise.
222 * math/j0q.c: Likewise.
223 * math/asinhq.c: Likewise.
224 * math/floorq.c: Likewise.
225 * math/sinq_kernel.c: Likewise.
226 * math/powq.c: Likewise.
227 * math/hypotq.c: Likewise.
228 * math/sincos_table.c: Likewise.
229 * math/rem_pio2q.c: Likewise.
230 * math/nextafterq.c: Likewise.
231 * math/log1pq.c: Likewise.
232 * math/sincosq_kernel.c: Likewise.
233 * math/tanq.c: Likewise.
234 * math/acosq.c: Likewise.
235 * math/lrintq.c: Likewise.
236 * math/llrintq.c: Likewise.
238 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
240 * configure.ac (ACX_BUGURL): Update.
241 * configure: Regenerate.
243 2017-01-17 Jakub Jelinek <jakub@redhat.com>
246 * configure.ac: Add GCC_BASE_VER.
247 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
248 get version from BASE-VER file.
249 * configure: Regenerated.
250 * Makefile.in: Regenerated.
252 2017-01-01 Jakub Jelinek <jakub@redhat.com>
254 * libquadmath.texi: Bump @copying's copyright year.
256 2016-11-15 Matthias Klose <doko@ubuntu.com>
258 * configure: Regenerate.
260 2016-01-04 Jakub Jelinek <jakub@redhat.com>
262 * libquadmath.texi: Bump @copying's copyright year.
264 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
266 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
267 * Makefile.in: Regenerate.
268 * libquadmath.texi: Document logbq.
269 * quadmath.h: Add logbq prototype.
270 * quadmath.map: Add logbq.
271 * quadmath_weak.h: Add logbq prototype.
272 * math/logbq.c: New file
274 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
276 * Makefile.in: Regenerated with automake-1.11.6.
277 * aclocal.m4: Likewise.
278 * configure: Likewise.
280 2015-01-26 Matthias Klose <doko@ubuntu.com>
282 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
283 * configure: Regenerate.
285 2015-01-05 Jakub Jelinek <jakub@redhat.com>
287 * libquadmath.texi: Bump @copying's copyright year.
289 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
292 * configure: Regenerated.
294 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
297 * configure: Regenerate.
299 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
302 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
303 * Makefile.in: Regenerate.
305 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
308 * Makefile.am: Conditionally define info_TEXINFOS and
309 libquadmath_TEXINFOS.
310 * Makefile.in: Regenerate.
312 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
315 * libquadmath.texi (sincosq): Fix typo.
317 2014-01-02 Tobias Burnus <burnus@net-b.de>
319 * libquadmath.texi: Bump @copying's copyright year.
321 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
323 * Makefile.am (AM_CPPFLAGS): Define.
324 * Makefile.in: Regenerate.
325 * printf/gmp-impl.h: Remove path from longlong.h include.
327 2013-09-20 Alan Modra <amodra@gmail.com>
329 * configure: Regenerate.
331 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
334 * quadmath.h: Add 'extern "C"' block for C++ use.
336 2013-02-19 Jakub Jelinek <jakub@redhat.com>
339 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
342 2013-02-17 Tobias Burnus <burnus@net-b.de>
344 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
346 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
348 Revert previous patch.
350 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
352 Update copyright years.
354 2013-01-22 Jakub Jelinek <jakub@redhat.com>
357 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
359 2012-12-13 Jakub Jelinek <jakub@redhat.com>
361 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
362 instead of L suffixed ones.
363 * math/fmaq.c (fmaq): Likewise.
364 * math/rintq.c (TWO112): Likewise.
366 2012-12-03 Tobias Burnus <burnus@net-b.de>
368 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
371 2012-11-25 Tobias Burnus <burnus@net-b.de>
374 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
375 instead of nonexisting HAVE_GET_ROUNDING_MODE.
377 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
380 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
383 2012-11-23 Tobias Burnus <burnus@net-b.de>
384 Joseph Myers <joseph@codesourcery.com>
386 * quadmath-rounding-mode.h: New.
387 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
388 * printf/fpioconst.h: Ditto.
389 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
390 Make printf respect the rounding mode for decimal output.
391 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
392 GLIBC. Make printf respect the rounding mode for hex output.
393 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
394 rounding mode. Fix strtod handling of underflow.
396 2012-11-22 David S. Miller <davem@davemloft.net>
397 Tobias Burnus <burnus@net-b.de>
398 Joseph Myers <joseph@codesourcery.com>
400 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
401 very large arguments properly.
402 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
403 underflow when 'x' is very small.
404 * math/j1q.c (y1q): Ditto.
405 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
406 nonzero exponents with absolute value below 0x1p-128 to
408 * math/powq.c (powq): Update from GLIBC. If xm1 is
409 smaller than LDBL_EPSILON/2.0L, just return xm1.
411 2012-11-21 Tobias Burnus <burnus@net-b.de>
414 * math/lgammaq.c (lgammaq): Use local variable if
415 math.h does not provide signgam.
416 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
417 * configure.ac: Use it.
418 * configure: Regenerate.
419 * config.h.in: Regenerate.
421 2012-11-15 Tobias Burnus <burnus@net-b.de>
422 Joseph Myers <joseph@codesourcery.com>
424 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
425 underflows with small x * y; Fix overflow results
426 outside round-to-nearest mode; make use of Dekker
427 and Knuth algorithms use round-to-nearest.
429 2012-11-01 Tobias Burnus <burnus@net-b.de>
431 * math/fmaq.c (fmaq): Fix build.
433 2012-11-01 Tobias Burnus <burnus@net-b.de>
434 Joseph Myers <joseph@codesourcery.com>
436 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
437 with small x * y using scaling, not as x * y + z.
438 * math/lgammaq.c (lgammaq): Fix signgam handling.
440 2012-11-01 Tobias Burnus <burnus@net-b.de>
442 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
443 * Makefile.in: Regenerated.
444 * math/acoshq.c: Update comment.
445 * math/acosq.c: Ditto.
446 * math/asinhq.c: Ditto.
447 * math/asinq.c: Ditto.
448 * math/atan2q.c: Ditto.
449 * math/atanhq.c: Ditto.
450 * math/ceilq.c: Ditto.
451 * math/copysignq.c: Ditto.
452 * math/cosq.c: Ditto.
453 * math/coshq.c: Ditto.
454 * math/erfq.c: Ditto.
455 * math/fabsq.c: Ditto.
456 * math/finiteq.c: Ditto.
457 * math/floorq.c: Ditto.
458 * math/fmodq.c: Ditto.
459 * math/frexpq.c: Ditto.
460 * math/isnanq.c: Ditto.
463 * math/ldexpq.c: Ditto.
464 * math/llroundq.c: Ditto.
465 * math/log10q.c: Ditto.
466 * math/log1pq.c: Ditto.
467 * math/log2q.c: Ditto.
468 * math/logq.c: Ditto.
469 * math/lroundq.c: Ditto.
470 * math/modfq.c: Ditto.
471 * math/nextafterq.c: Ditto.
472 * math/powq.c: Ditto.
473 * math/rem_pio2q.c: Ditto.
474 * math/remainderq.c: Ditto.
475 * math/rintq.c: Ditto.
476 * math/roundq.c: Ditto.
477 * math/scalblnq.c: Ditto.
478 * math/scalbnq.c: Ditto.
479 * math/sincosq_kernel.c: Ditto.
480 * math/sinq.c: Ditto.
481 * math/tanq.c: Ditto.
482 * math/expq.c: Ditto.
483 (__expq_table, expq): Renamed local array from __expl_table.
484 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
485 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
486 * math/casinhq.c: Changes from GLIBC to fix special-case.
487 * math/cbrtq.c: Use modified GLIBC version.
488 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
489 ctanhq, ctanq): Moved to separates files.
490 (mult_c128, div_c128): Removed no longer needed functions.
491 (cexpiq): Call sincosq instead of sinq and cosq.
492 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
493 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
494 modified based on GLIBC.
495 * math/cexpq.c (cexp): Ditto.
496 * math/clog10q.c (clog10q): Ditto.
497 * math/clogq.c (clogq): Ditto.
498 * math/csinhq.c: Ditto.
499 * math/csinq.c: Ditto.
500 * math/csqrtq.c: Ditto.
501 * math/ctanhq.c: Ditto.
502 * math/ctanq.c: Ditto.
503 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
505 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
506 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
508 * math/lgammaq.c (lgammaq): Add signgam handling.
509 * math/sinhq.c (sinhq): Fix sign handling.
510 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
511 * math/tgammaq.c (tgammaq): Ditto.
512 * math/x2y2m1q.c: New file.
513 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
514 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
516 2012-10-31 Tobias Burnus <burnus@net-b.de>
517 Joseph Myers <joseph@codesourcery.com>
518 David S. Miller <davem@davemloft.net>
519 Ulrich Drepper <drepper@redhat.com>
520 Marek Polacek <polacek@redhat.com>:
521 Petr Baudis <pasky@suse.cz>
523 * math/complex.c (csqrtq): NaN and INF fixes.
524 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
525 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
526 large parameters. Fix errno for boundary conditions.
527 * math/finiteq.c (finiteq): Add comment.
528 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
529 and bad results for some subnormal results. Fix sign of inexact
530 zero return. Fix sign of exact zero return.
531 Ensure additions are not scheduled after fetestexcept.
532 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
533 for ynq. Fix jnq precision.
534 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
535 manipulate bits before adding and subtracting TWO112[sx].
536 * math/rintq.c (rintq): Ditto.
537 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
540 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
542 * configure: Regenerated.
544 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
547 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
548 * configure: Regenerated.
550 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
552 * configure: Regenerated.
554 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
556 * configure: Regenerate.
558 2011-11-07 Kai Tietz <ktietz@redhat.com>
561 * quadmath-imp.h (ieee854_float128): Adjust
562 for ms-bitfield layout.
564 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
566 * printf/gmp-impl.h: Adapt path to longlong.h.
568 2011-09-21 Joseph Myers <joseph@codesourcery.com>
570 * Makefile.am (FLAGS_TO_PASS): Define.
571 * Makefile.in: Regenerate.
573 2011-08-01 Jakub Jelinek <jakub@redhat.com>
575 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
576 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
578 2011-04-03 Tobias Burnus <burnus@net-b.de>
581 * libquadmath.texi (strtoflt128): Fix typo.
582 (quadmath_snprintf): Move note up, make @item.
584 2011-03-25 Jakub Jelinek <jakub@redhat.com>
586 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
589 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
592 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
593 * configure: Regenerate.
595 2011-02-28 Jakub Jelinek <jakub@redhat.com>
597 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
598 that for size > 0 str is always zero terminated.
600 2011-02-20 Jakub Jelinek <jakub@redhat.com>
603 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
605 2011-02-17 Jakub Jelinek <jakub@redhat.com>
607 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
608 FLT128_MAX_10_EXP): Document.
609 (strtoflt128): Remove obsolete comment.
610 * configure.ac (HAVE_STRTOULL): New check.
611 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
613 * printf/mul_n.c: Include <config.h>.
614 * printf/add_n.c: Likewise.
615 * printf/cmp.c: Likewise.
616 * printf/fpioconst.c: Likewise.
617 * printf/mul_1.c: Likewise.
618 * printf/rshift.c: Likewise.
619 * printf/lshift.c: Likewise.
620 * printf/submul_1.c: Likewise.
621 * printf/sub_n.c: Likewise.
622 * printf/divrem.c: Likewise.
623 * printf/addmul_1.c: Likewise.
624 * printf/mul.c: Likewise.
625 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
626 to avoid evaluating argument multiple times.
627 (isxdigit): Redefine.
628 * strtod/strtoflt128.c: New file.
629 * strtod/strtod_l.c: New file.
630 * strtod/mpn2flt128.c: New file.
631 * strtod/grouping.h: New file.
632 * strtod/tens_in_limb.c: New file.
633 * gdtoa/arith.h: Removed.
634 * gdtoa/gd_qnan.h: Removed.
635 * gdtoa/gdtoa_fltrnds.h: Removed.
636 * gdtoa/gdtoa.h: Removed.
637 * gdtoa/gdtoaimp.h: Removed.
638 * gdtoa/gethex.c: Removed.
639 * gdtoa/gmisc.c: Removed.
640 * gdtoa/hd_init.c: Removed.
641 * gdtoa/hexnan.c: Removed.
642 * gdtoa/makefile: Removed.
643 * gdtoa/misc.c: Removed.
644 * gdtoa/README.gdtoa: Removed.
645 * gdtoa/smisc.c: Removed.
646 * gdtoa/strtodg.c: Removed.
647 * gdtoa/strtopQ.c: Removed.
648 * gdtoa/sum.c: Removed.
649 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
651 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
652 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
653 * config.h.in: Regenerated.
654 * configure: Regenerated.
655 * Makefile.in: Regenerated.
657 2011-02-16 Jakub Jelinek <jakub@redhat.com>
659 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
660 whether workarounds for printf hook handling should be added.
662 * configure.ac: Check for locale.h too.
663 (USE_LOCALE_SUPPORT): Remove check.
664 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
665 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
666 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
667 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
669 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
670 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
671 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
672 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
673 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
674 USE_I18N_NUMBER_H #ifdef.
675 * configure: Regenerated.
676 * config.h.in: Regenerated.
678 2011-02-14 Jakub Jelinek <jakub@redhat.com>
681 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
683 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
684 field instead of setting individual fields to 0. Don't set info.user
686 * configure: Regenerated.
688 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
689 * printf/printf_fp.c: Don't include <alloca.h>.
690 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
691 * configure: Regenerated.
694 * libquadmath.texi (quadmath_snprintf): Document.
695 (quadmath_flt128tostr): Remove.
696 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
697 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
698 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
699 * quadmath.h (quadmath_snprintf): New prototype.
700 (quadmath_flt128tostr): Remove.
701 * quadmath_weak.h (quadmath_snprintf): Add.
702 (quadmath_flt128tostr): Remove.
703 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
704 wctype.h, limits.h, ctype.h, printf.h, errno.h.
705 (AC_USE_SYSTEM_EXTENSIONS): Add.
706 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
707 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
708 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
709 quadmath_flt128tostr.
710 * printf/printf_fphex.c: New file.
711 * printf/_itowa.h: New file.
712 * printf/mul_n.c: New file.
713 * printf/quadmath-printf.h: New file.
714 * printf/submul_1.c: New file.
715 * printf/quadmath-printf.c: New file.
716 * printf/gmp-impl.h: New file.
717 * printf/lshift.c: New file.
718 * printf/fpioconst.h: New file.
719 * printf/add_n.c: New file.
720 * printf/cmp.c: New file.
721 * printf/sub_n.c: New file.
722 * printf/mul.c: New file.
723 * printf/divrem.c: New file.
724 * printf/addmul_1.c: New file.
725 * printf/printf_fp.c: New file.
726 * printf/_itoa.h: New file.
727 * printf/fpioconst.c: New file.
728 * printf/_i18n_number.h: New file.
729 * printf/flt1282mpn.c: New file.
730 * printf/rshift.c: New file.
731 * printf/mul_1.c: New file.
732 * quadmath_io.c: Removed.
733 * gdtoa/gdtoa.c: Removed.
734 * gdtoa/g__fmt.c: Removed.
735 * gdtoa/g_Qfmt.c: Removed.
736 * gdtoa/dmisc.c: Removed.
737 * gdtoa/ulp.c: Removed.
738 * config.h.in: Regenerated.
739 * configure: Regenerated.
740 * Makefile.in: Regenerated.
742 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
744 * Makefile.in: Regenerate.
745 * aclocal.m4: Likewise.
746 * configure: Likewise.
748 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
751 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
752 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
754 2011-01-17 Tobias Burnus <burnus@net-b.de>
757 * libquadmath.text: Document typedef and constants.
759 2011-01-17 Tobias Burnus <burnus@net-b.de>
762 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
763 bump copyright year and use /**/ instead of // comments.
765 * quadmath-weak.h: Ditto.
766 * quadmath_io.c: Ditto.
768 2011-01-16 Jakub Jelinek <jakub@redhat.com>
771 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
774 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
775 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
776 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
777 (strtoflt128, quadmath_flt128tostr): Add.
778 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
779 (strtoflt128): ... this. Return __float128, instead of writing
780 to memory pointed by last argument.
781 * quadmath.h: Use C style comments instead of C++ style.
782 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
783 (strtoflt128, quadmath_flt128tostr): Add prototypes.
784 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
785 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
787 * quadmath_io.c (quadmath_dtoaq): Rename to...
788 (quadmath_flt128tostr): ... this.
790 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
791 Use it for all prototypes.
794 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
795 const from prototype argument.
796 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
797 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
798 (__quadmath_extern_inline): Define.
799 (cimagq, conjq, crealq): New inlines.
800 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
801 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
802 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
803 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
804 * Makefile.in: Regenerated.
805 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
806 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
807 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
808 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
809 tests instead of __BIG_ENDIAN__.
810 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
811 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
813 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
814 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
815 * math/cprojq.c: New file.
816 * math/ilogbq.c: New file.
817 * math/fminq.c: New file.
818 * math/llrintq.c: New file.
819 * math/log2q.c: New file.
820 * math/lrintq.c: New file.
821 * math/crealq.c: New file.
822 * math/nearbyintq.c: New file.
823 * math/fmaxq.c: New file.
824 * math/conjq.c: New file.
825 * math/remquoq.c: New file.
826 * math/cimagq.c: New file.
827 * math/fdimq.c: New file.
829 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
832 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
834 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
835 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
836 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
838 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
839 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
840 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
842 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
843 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
845 * Makefile.in: Regenerated.
846 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
847 catanq, catanhq): Add.
848 * math/cacoshq.c: New file.
849 * math/cacosq.c: New file.
850 * math/catanq.c: New file.
851 * math/catanhq.c: New file.
852 * math/casinq.c: New file.
853 * math/casinhq.c: New file.
855 * math/hypotq.c (hypotq): Use Q suffix instead of L.
856 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
857 * math/cosq.c (cosq): Likewise.
860 * quadmath.map (QUADMATH_1.0): Add fmaq.
861 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
862 feupdateenv, fesetenv and fetestexcept.
863 * configure: Regenerated.
864 * config.h.in: Regenerated.
865 * quadmath.h (fmaq): New prototype.
866 * quadmath_weak.h (fmaq): Add.
867 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
868 * Makefile.in: Regenerated.
869 * quadmath-imp.h: Include config.h.
870 * math/expq.c: Include fenv.h.
871 (USE_FENV_H): Define if libm support for fe* is there.
872 (expq): Add fesetround etc. support if USE_FENV_H is defined.
873 * math/fmaq.c: New file.
874 * libquadmath.texi (fmaq): Add.
876 2011-01-14 Tobias Burnus <burnus@net-b.de>
879 * configure.ac: Use ACX_BUGURL.
880 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
881 * Makefile.am: Create libquadmath-vers.texi.
882 * configure.in: Regenerate.
883 * Makefile.in: Regenerate.
885 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
888 * Makefile.am (libquadmath.info): Unconditionally override
889 target, not only if BUILD_LIBQUADMATH.
890 * Makefile.in: Regenerate.
891 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
892 avoid warning from automake.
894 2010-12-19 Tobias Burnus <burnus@net-b.de>
897 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
898 * configure: Regenerate
900 2010-12-13 Tobias Burnus <burnus@net-b.de>
903 * gdtoa/gdtoaimp.h: Mangle internal functions by
904 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
905 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
906 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
907 if NO_STRING_H is set.
908 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
909 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
910 __quadmath prefix to internal functions.
911 * math/cosq.c (cosq): Ditto.
912 * math/sinq.c (cosq): Ditto.
913 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
914 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
915 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
916 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
918 2010-12-08 Tobias Burnus <burnus@net-b.de>
921 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
922 * gdtoa/gdtoaimp.h: Don't declare strtod.
924 2010-12-08 Tobias Burnus <burnus@net-b.de>
927 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
928 AC_TRY_LINK and cache libquad_have_float128.
929 * configure: Regenerate.
931 2010-12-08 Tobias Burnus <burnus@net-b.de>
934 * configure.ac: Add texinfo checks.
935 * Makefile.am: Handle .texi documentation.
936 * libquadmath.texi: New.
937 * configure: Regenerated.
938 * Makefile.in: Regenerated.
940 2010-12-06 Tobias Burnus <burnus@net-b.de>
943 * quadmath-imp.h: Add LGPL header.
944 * quadmath.h: Add LGPL header.
945 * quadmath_io.c: Add LGPL header.
946 * quadmath_weak.h: Add LGPL header.
948 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
952 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
953 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
954 * aclocal.m4: Regenerate.
955 * configure: Regenerate.
956 * Makefile.in: Regenerate.
958 2010-11-30 Tobias Burnus <burnus@net-b.de>
961 * Makefile.am: Install include files in
962 target/version specific directory.
963 * Makefile.in: Regenerate.
965 2010-11-30 Tobias Burnus <burnus@net-b.de>
967 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
968 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
969 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
971 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
973 * configure: Regenerated.
974 * Makefile.in: Regenerated.
975 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
976 (target_alias): Use AC_SUBST for it.
977 (GCC_NO_EXECUTABLES): Call it.
978 (AC_PROG_CC): Improve multilib handling.
979 Check that gcc is used for compilation.
980 Use pattern from libssp for symbol versioning checking.
981 * Makefile.am (LTLDFLAGS): Removed.
982 (libquadmath_la_LDFLAGS): Add -no-undefined.
983 (libquadmath_la_LINK): Commented out.
984 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
985 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
986 (MAKEOVERRIDES): New.
987 * aclocal.m4: Regenerated.
989 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
991 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
992 (libquadmath_la_LDFLAGS): ... here.
993 (quadmath.map-sun): Tabify.
995 * Makefile.in: Regenerate.
997 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
998 Tobias Burnus <burnus@net-b.de>
1001 Initial implementation and checkin.
1003 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1005 Copying and distribution of this file, with or without modification,
1006 are permitted in any medium without royalty provided the copyright
1007 notice and this notice are preserved.