1 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3 * configure: Regenerated.
5 2018-04-18 David Malcolm <dmalcolm@redhat.com>
8 * configure: Regenerate.
10 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13 * configure: Regenerate.
15 2018-01-03 Jakub Jelinek <jakub@redhat.com>
17 * libquadmath.texi: Bump @copying's copyright year.
19 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
21 * Makefile.am: Update AM_CFLAGS.
22 * Makefile.in: Regenerate:
23 * acinclude.m4: Add enable.m4 and cet.m4.
24 * configure: Regenerate.
25 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
27 2017-11-05 Tom de Vries <tom@codesourcery.com>
30 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
33 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
36 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
37 complex __float128 on PowerPC instead of attribute mode TC.
38 * quadmath.h (__complex128): Likewise.
39 * configure: Regenerate.
40 * math/cbrtq.c (CBRT2): Use __float128 not long double.
44 * math/j0q.c (U0): Likewise.
45 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
46 between __float128, instead explicitly convert the __float128
47 value to long double because the PowerPC does not allow __float128
48 and long double in the same expression.
50 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
52 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
54 2017-07-19 Jakub Jelinek <jakub@redhat.com>
57 * quadmath-imp.h (math_opt_barrier, math_force_eval,
58 math_narrow_eval, math_check_force_underflow,
59 math_check_force_underflow_nonneg): Define.
60 * math/ceilq.c: Backport changes from upstream glibc
61 between 2012-11-01 and 2017-07-13.
62 * math/remquoq.c: Likewise.
63 * math/expq.c: Likewise.
64 * math/llroundq.c: Likewise.
65 * math/logq.c: Likewise.
66 * math/atanq.c: Likewise.
67 * math/nearbyintq.c: Likewise.
68 * math/scalblnq.c: Likewise.
69 * math/finiteq.c: Likewise.
70 * math/atanhq.c: Likewise.
71 * math/expm1q.c: Likewise.
72 * math/sinhq.c: Likewise.
73 * math/log10q.c: Likewise.
74 * math/rintq.c: Likewise.
75 * math/roundq.c: Likewise.
76 * math/fmaq.c: Likewise.
77 * math/erfq.c: Likewise.
78 * math/log2q.c: Likewise.
79 * math/lroundq.c: Likewise.
80 * math/j1q.c: Likewise.
81 * math/scalbnq.c: Likewise.
82 * math/truncq.c: Likewise.
83 * math/frexpq.c: Likewise.
84 * math/sincosq.c: Likewise.
85 * math/tanhq.c: Likewise.
86 * math/asinq.c: Likewise.
87 * math/coshq.c: Likewise.
88 * math/j0q.c: Likewise.
89 * math/asinhq.c: Likewise.
90 * math/floorq.c: Likewise.
91 * math/sinq_kernel.c: Likewise.
92 * math/powq.c: Likewise.
93 * math/hypotq.c: Likewise.
94 * math/sincos_table.c: Likewise.
95 * math/rem_pio2q.c: Likewise.
96 * math/nextafterq.c: Likewise.
97 * math/log1pq.c: Likewise.
98 * math/sincosq_kernel.c: Likewise.
99 * math/tanq.c: Likewise.
100 * math/acosq.c: Likewise.
101 * math/lrintq.c: Likewise.
102 * math/llrintq.c: Likewise.
104 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
106 * configure.ac (ACX_BUGURL): Update.
107 * configure: Regenerate.
109 2017-01-17 Jakub Jelinek <jakub@redhat.com>
112 * configure.ac: Add GCC_BASE_VER.
113 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
114 get version from BASE-VER file.
115 * configure: Regenerated.
116 * Makefile.in: Regenerated.
118 2017-01-01 Jakub Jelinek <jakub@redhat.com>
120 * libquadmath.texi: Bump @copying's copyright year.
122 2016-11-15 Matthias Klose <doko@ubuntu.com>
124 * configure: Regenerate.
126 2016-01-04 Jakub Jelinek <jakub@redhat.com>
128 * libquadmath.texi: Bump @copying's copyright year.
130 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
132 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
133 * Makefile.in: Regenerate.
134 * libquadmath.texi: Document logbq.
135 * quadmath.h: Add logbq prototype.
136 * quadmath.map: Add logbq.
137 * quadmath_weak.h: Add logbq prototype.
138 * math/logbq.c: New file
140 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
142 * Makefile.in: Regenerated with automake-1.11.6.
143 * aclocal.m4: Likewise.
144 * configure: Likewise.
146 2015-01-26 Matthias Klose <doko@ubuntu.com>
148 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
149 * configure: Regenerate.
151 2015-01-05 Jakub Jelinek <jakub@redhat.com>
153 * libquadmath.texi: Bump @copying's copyright year.
155 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
158 * configure: Regenerated.
160 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
163 * configure: Regenerate.
165 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
168 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
169 * Makefile.in: Regenerate.
171 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
174 * Makefile.am: Conditionally define info_TEXINFOS and
175 libquadmath_TEXINFOS.
176 * Makefile.in: Regenerate.
178 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
181 * libquadmath.texi (sincosq): Fix typo.
183 2014-01-02 Tobias Burnus <burnus@net-b.de>
185 * libquadmath.texi: Bump @copying's copyright year.
187 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
189 * Makefile.am (AM_CPPFLAGS): Define.
190 * Makefile.in: Regenerate.
191 * printf/gmp-impl.h: Remove path from longlong.h include.
193 2013-09-20 Alan Modra <amodra@gmail.com>
195 * configure: Regenerate.
197 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
200 * quadmath.h: Add 'extern "C"' block for C++ use.
202 2013-02-19 Jakub Jelinek <jakub@redhat.com>
205 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
208 2013-02-17 Tobias Burnus <burnus@net-b.de>
210 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
212 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
214 Revert previous patch.
216 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
218 Update copyright years.
220 2013-01-22 Jakub Jelinek <jakub@redhat.com>
223 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
225 2012-12-13 Jakub Jelinek <jakub@redhat.com>
227 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
228 instead of L suffixed ones.
229 * math/fmaq.c (fmaq): Likewise.
230 * math/rintq.c (TWO112): Likewise.
232 2012-12-03 Tobias Burnus <burnus@net-b.de>
234 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
237 2012-11-25 Tobias Burnus <burnus@net-b.de>
240 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
241 instead of nonexisting HAVE_GET_ROUNDING_MODE.
243 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
246 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
249 2012-11-23 Tobias Burnus <burnus@net-b.de>
250 Joseph Myers <joseph@codesourcery.com>
252 * quadmath-rounding-mode.h: New.
253 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
254 * printf/fpioconst.h: Ditto.
255 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
256 Make printf respect the rounding mode for decimal output.
257 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
258 GLIBC. Make printf respect the rounding mode for hex output.
259 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
260 rounding mode. Fix strtod handling of underflow.
262 2012-11-22 David S. Miller <davem@davemloft.net>
263 Tobias Burnus <burnus@net-b.de>
264 Joseph Myers <joseph@codesourcery.com>
266 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
267 very large arguments properly.
268 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
269 underflow when 'x' is very small.
270 * math/j1q.c (y1q): Ditto.
271 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
272 nonzero exponents with absolute value below 0x1p-128 to
274 * math/powq.c (powq): Update from GLIBC. If xm1 is
275 smaller than LDBL_EPSILON/2.0L, just return xm1.
277 2012-11-21 Tobias Burnus <burnus@net-b.de>
280 * math/lgammaq.c (lgammaq): Use local variable if
281 math.h does not provide signgam.
282 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
283 * configure.ac: Use it.
284 * configure: Regenerate.
285 * config.h.in: Regenerate.
287 2012-11-15 Tobias Burnus <burnus@net-b.de>
288 Joseph Myers <joseph@codesourcery.com>
290 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
291 underflows with small x * y; Fix overflow results
292 outside round-to-nearest mode; make use of Dekker
293 and Knuth algorithms use round-to-nearest.
295 2012-11-01 Tobias Burnus <burnus@net-b.de>
297 * math/fmaq.c (fmaq): Fix build.
299 2012-11-01 Tobias Burnus <burnus@net-b.de>
300 Joseph Myers <joseph@codesourcery.com>
302 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
303 with small x * y using scaling, not as x * y + z.
304 * math/lgammaq.c (lgammaq): Fix signgam handling.
306 2012-11-01 Tobias Burnus <burnus@net-b.de>
308 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
309 * Makefile.in: Regenerated.
310 * math/acoshq.c: Update comment.
311 * math/acosq.c: Ditto.
312 * math/asinhq.c: Ditto.
313 * math/asinq.c: Ditto.
314 * math/atan2q.c: Ditto.
315 * math/atanhq.c: Ditto.
316 * math/ceilq.c: Ditto.
317 * math/copysignq.c: Ditto.
318 * math/cosq.c: Ditto.
319 * math/coshq.c: Ditto.
320 * math/erfq.c: Ditto.
321 * math/fabsq.c: Ditto.
322 * math/finiteq.c: Ditto.
323 * math/floorq.c: Ditto.
324 * math/fmodq.c: Ditto.
325 * math/frexpq.c: Ditto.
326 * math/isnanq.c: Ditto.
329 * math/ldexpq.c: Ditto.
330 * math/llroundq.c: Ditto.
331 * math/log10q.c: Ditto.
332 * math/log1pq.c: Ditto.
333 * math/log2q.c: Ditto.
334 * math/logq.c: Ditto.
335 * math/lroundq.c: Ditto.
336 * math/modfq.c: Ditto.
337 * math/nextafterq.c: Ditto.
338 * math/powq.c: Ditto.
339 * math/rem_pio2q.c: Ditto.
340 * math/remainderq.c: Ditto.
341 * math/rintq.c: Ditto.
342 * math/roundq.c: Ditto.
343 * math/scalblnq.c: Ditto.
344 * math/scalbnq.c: Ditto.
345 * math/sincosq_kernel.c: Ditto.
346 * math/sinq.c: Ditto.
347 * math/tanq.c: Ditto.
348 * math/expq.c: Ditto.
349 (__expq_table, expq): Renamed local array from __expl_table.
350 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
351 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
352 * math/casinhq.c: Changes from GLIBC to fix special-case.
353 * math/cbrtq.c: Use modified GLIBC version.
354 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
355 ctanhq, ctanq): Moved to separates files.
356 (mult_c128, div_c128): Removed no longer needed functions.
357 (cexpiq): Call sincosq instead of sinq and cosq.
358 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
359 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
360 modified based on GLIBC.
361 * math/cexpq.c (cexp): Ditto.
362 * math/clog10q.c (clog10q): Ditto.
363 * math/clogq.c (clogq): Ditto.
364 * math/csinhq.c: Ditto.
365 * math/csinq.c: Ditto.
366 * math/csqrtq.c: Ditto.
367 * math/ctanhq.c: Ditto.
368 * math/ctanq.c: Ditto.
369 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
371 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
372 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
374 * math/lgammaq.c (lgammaq): Add signgam handling.
375 * math/sinhq.c (sinhq): Fix sign handling.
376 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
377 * math/tgammaq.c (tgammaq): Ditto.
378 * math/x2y2m1q.c: New file.
379 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
380 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
382 2012-10-31 Tobias Burnus <burnus@net-b.de>
383 Joseph Myers <joseph@codesourcery.com>
384 David S. Miller <davem@davemloft.net>
385 Ulrich Drepper <drepper@redhat.com>
386 Marek Polacek <polacek@redhat.com>:
387 Petr Baudis <pasky@suse.cz>
389 * math/complex.c (csqrtq): NaN and INF fixes.
390 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
391 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
392 large parameters. Fix errno for boundary conditions.
393 * math/finiteq.c (finiteq): Add comment.
394 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
395 and bad results for some subnormal results. Fix sign of inexact
396 zero return. Fix sign of exact zero return.
397 Ensure additions are not scheduled after fetestexcept.
398 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
399 for ynq. Fix jnq precision.
400 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
401 manipulate bits before adding and subtracting TWO112[sx].
402 * math/rintq.c (rintq): Ditto.
403 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
406 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
408 * configure: Regenerated.
410 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
413 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
414 * configure: Regenerated.
416 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
418 * configure: Regenerated.
420 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
422 * configure: Regenerate.
424 2011-11-07 Kai Tietz <ktietz@redhat.com>
427 * quadmath-imp.h (ieee854_float128): Adjust
428 for ms-bitfield layout.
430 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
432 * printf/gmp-impl.h: Adapt path to longlong.h.
434 2011-09-21 Joseph Myers <joseph@codesourcery.com>
436 * Makefile.am (FLAGS_TO_PASS): Define.
437 * Makefile.in: Regenerate.
439 2011-08-01 Jakub Jelinek <jakub@redhat.com>
441 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
442 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
444 2011-04-03 Tobias Burnus <burnus@net-b.de>
447 * libquadmath.texi (strtoflt128): Fix typo.
448 (quadmath_snprintf): Move note up, make @item.
450 2011-03-25 Jakub Jelinek <jakub@redhat.com>
452 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
455 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
458 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
459 * configure: Regenerate.
461 2011-02-28 Jakub Jelinek <jakub@redhat.com>
463 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
464 that for size > 0 str is always zero terminated.
466 2011-02-20 Jakub Jelinek <jakub@redhat.com>
469 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
471 2011-02-17 Jakub Jelinek <jakub@redhat.com>
473 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
474 FLT128_MAX_10_EXP): Document.
475 (strtoflt128): Remove obsolete comment.
476 * configure.ac (HAVE_STRTOULL): New check.
477 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
479 * printf/mul_n.c: Include <config.h>.
480 * printf/add_n.c: Likewise.
481 * printf/cmp.c: Likewise.
482 * printf/fpioconst.c: Likewise.
483 * printf/mul_1.c: Likewise.
484 * printf/rshift.c: Likewise.
485 * printf/lshift.c: Likewise.
486 * printf/submul_1.c: Likewise.
487 * printf/sub_n.c: Likewise.
488 * printf/divrem.c: Likewise.
489 * printf/addmul_1.c: Likewise.
490 * printf/mul.c: Likewise.
491 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
492 to avoid evaluating argument multiple times.
493 (isxdigit): Redefine.
494 * strtod/strtoflt128.c: New file.
495 * strtod/strtod_l.c: New file.
496 * strtod/mpn2flt128.c: New file.
497 * strtod/grouping.h: New file.
498 * strtod/tens_in_limb.c: New file.
499 * gdtoa/arith.h: Removed.
500 * gdtoa/gd_qnan.h: Removed.
501 * gdtoa/gdtoa_fltrnds.h: Removed.
502 * gdtoa/gdtoa.h: Removed.
503 * gdtoa/gdtoaimp.h: Removed.
504 * gdtoa/gethex.c: Removed.
505 * gdtoa/gmisc.c: Removed.
506 * gdtoa/hd_init.c: Removed.
507 * gdtoa/hexnan.c: Removed.
508 * gdtoa/makefile: Removed.
509 * gdtoa/misc.c: Removed.
510 * gdtoa/README.gdtoa: Removed.
511 * gdtoa/smisc.c: Removed.
512 * gdtoa/strtodg.c: Removed.
513 * gdtoa/strtopQ.c: Removed.
514 * gdtoa/sum.c: Removed.
515 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
517 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
518 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
519 * config.h.in: Regenerated.
520 * configure: Regenerated.
521 * Makefile.in: Regenerated.
523 2011-02-16 Jakub Jelinek <jakub@redhat.com>
525 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
526 whether workarounds for printf hook handling should be added.
528 * configure.ac: Check for locale.h too.
529 (USE_LOCALE_SUPPORT): Remove check.
530 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
531 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
532 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
533 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
535 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
536 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
537 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
538 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
539 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
540 USE_I18N_NUMBER_H #ifdef.
541 * configure: Regenerated.
542 * config.h.in: Regenerated.
544 2011-02-14 Jakub Jelinek <jakub@redhat.com>
547 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
549 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
550 field instead of setting individual fields to 0. Don't set info.user
552 * configure: Regenerated.
554 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
555 * printf/printf_fp.c: Don't include <alloca.h>.
556 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
557 * configure: Regenerated.
560 * libquadmath.texi (quadmath_snprintf): Document.
561 (quadmath_flt128tostr): Remove.
562 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
563 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
564 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
565 * quadmath.h (quadmath_snprintf): New prototype.
566 (quadmath_flt128tostr): Remove.
567 * quadmath_weak.h (quadmath_snprintf): Add.
568 (quadmath_flt128tostr): Remove.
569 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
570 wctype.h, limits.h, ctype.h, printf.h, errno.h.
571 (AC_USE_SYSTEM_EXTENSIONS): Add.
572 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
573 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
574 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
575 quadmath_flt128tostr.
576 * printf/printf_fphex.c: New file.
577 * printf/_itowa.h: New file.
578 * printf/mul_n.c: New file.
579 * printf/quadmath-printf.h: New file.
580 * printf/submul_1.c: New file.
581 * printf/quadmath-printf.c: New file.
582 * printf/gmp-impl.h: New file.
583 * printf/lshift.c: New file.
584 * printf/fpioconst.h: New file.
585 * printf/add_n.c: New file.
586 * printf/cmp.c: New file.
587 * printf/sub_n.c: New file.
588 * printf/mul.c: New file.
589 * printf/divrem.c: New file.
590 * printf/addmul_1.c: New file.
591 * printf/printf_fp.c: New file.
592 * printf/_itoa.h: New file.
593 * printf/fpioconst.c: New file.
594 * printf/_i18n_number.h: New file.
595 * printf/flt1282mpn.c: New file.
596 * printf/rshift.c: New file.
597 * printf/mul_1.c: New file.
598 * quadmath_io.c: Removed.
599 * gdtoa/gdtoa.c: Removed.
600 * gdtoa/g__fmt.c: Removed.
601 * gdtoa/g_Qfmt.c: Removed.
602 * gdtoa/dmisc.c: Removed.
603 * gdtoa/ulp.c: Removed.
604 * config.h.in: Regenerated.
605 * configure: Regenerated.
606 * Makefile.in: Regenerated.
608 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
610 * Makefile.in: Regenerate.
611 * aclocal.m4: Likewise.
612 * configure: Likewise.
614 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
617 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
618 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
620 2011-01-17 Tobias Burnus <burnus@net-b.de>
623 * libquadmath.text: Document typedef and constants.
625 2011-01-17 Tobias Burnus <burnus@net-b.de>
628 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
629 bump copyright year and use /**/ instead of // comments.
631 * quadmath-weak.h: Ditto.
632 * quadmath_io.c: Ditto.
634 2011-01-16 Jakub Jelinek <jakub@redhat.com>
637 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
640 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
641 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
642 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
643 (strtoflt128, quadmath_flt128tostr): Add.
644 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
645 (strtoflt128): ... this. Return __float128, instead of writing
646 to memory pointed by last argument.
647 * quadmath.h: Use C style comments instead of C++ style.
648 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
649 (strtoflt128, quadmath_flt128tostr): Add prototypes.
650 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
651 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
653 * quadmath_io.c (quadmath_dtoaq): Rename to...
654 (quadmath_flt128tostr): ... this.
656 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
657 Use it for all prototypes.
660 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
661 const from prototype argument.
662 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
663 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
664 (__quadmath_extern_inline): Define.
665 (cimagq, conjq, crealq): New inlines.
666 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
667 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
668 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
669 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
670 * Makefile.in: Regenerated.
671 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
672 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
673 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
674 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
675 tests instead of __BIG_ENDIAN__.
676 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
677 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
679 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
680 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
681 * math/cprojq.c: New file.
682 * math/ilogbq.c: New file.
683 * math/fminq.c: New file.
684 * math/llrintq.c: New file.
685 * math/log2q.c: New file.
686 * math/lrintq.c: New file.
687 * math/crealq.c: New file.
688 * math/nearbyintq.c: New file.
689 * math/fmaxq.c: New file.
690 * math/conjq.c: New file.
691 * math/remquoq.c: New file.
692 * math/cimagq.c: New file.
693 * math/fdimq.c: New file.
695 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
698 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
700 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
701 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
702 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
704 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
705 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
706 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
708 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
709 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
711 * Makefile.in: Regenerated.
712 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
713 catanq, catanhq): Add.
714 * math/cacoshq.c: New file.
715 * math/cacosq.c: New file.
716 * math/catanq.c: New file.
717 * math/catanhq.c: New file.
718 * math/casinq.c: New file.
719 * math/casinhq.c: New file.
721 * math/hypotq.c (hypotq): Use Q suffix instead of L.
722 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
723 * math/cosq.c (cosq): Likewise.
726 * quadmath.map (QUADMATH_1.0): Add fmaq.
727 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
728 feupdateenv, fesetenv and fetestexcept.
729 * configure: Regenerated.
730 * config.h.in: Regenerated.
731 * quadmath.h (fmaq): New prototype.
732 * quadmath_weak.h (fmaq): Add.
733 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
734 * Makefile.in: Regenerated.
735 * quadmath-imp.h: Include config.h.
736 * math/expq.c: Include fenv.h.
737 (USE_FENV_H): Define if libm support for fe* is there.
738 (expq): Add fesetround etc. support if USE_FENV_H is defined.
739 * math/fmaq.c: New file.
740 * libquadmath.texi (fmaq): Add.
742 2011-01-14 Tobias Burnus <burnus@net-b.de>
745 * configure.ac: Use ACX_BUGURL.
746 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
747 * Makefile.am: Create libquadmath-vers.texi.
748 * configure.in: Regenerate.
749 * Makefile.in: Regenerate.
751 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
754 * Makefile.am (libquadmath.info): Unconditionally override
755 target, not only if BUILD_LIBQUADMATH.
756 * Makefile.in: Regenerate.
757 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
758 avoid warning from automake.
760 2010-12-19 Tobias Burnus <burnus@net-b.de>
763 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
764 * configure: Regenerate
766 2010-12-13 Tobias Burnus <burnus@net-b.de>
769 * gdtoa/gdtoaimp.h: Mangle internal functions by
770 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
771 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
772 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
773 if NO_STRING_H is set.
774 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
775 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
776 __quadmath prefix to internal functions.
777 * math/cosq.c (cosq): Ditto.
778 * math/sinq.c (cosq): Ditto.
779 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
780 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
781 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
782 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
784 2010-12-08 Tobias Burnus <burnus@net-b.de>
787 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
788 * gdtoa/gdtoaimp.h: Don't declare strtod.
790 2010-12-08 Tobias Burnus <burnus@net-b.de>
793 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
794 AC_TRY_LINK and cache libquad_have_float128.
795 * configure: Regenerate.
797 2010-12-08 Tobias Burnus <burnus@net-b.de>
800 * configure.ac: Add texinfo checks.
801 * Makefile.am: Handle .texi documentation.
802 * libquadmath.texi: New.
803 * configure: Regenerated.
804 * Makefile.in: Regenerated.
806 2010-12-06 Tobias Burnus <burnus@net-b.de>
809 * quadmath-imp.h: Add LGPL header.
810 * quadmath.h: Add LGPL header.
811 * quadmath_io.c: Add LGPL header.
812 * quadmath_weak.h: Add LGPL header.
814 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
818 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
819 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
820 * aclocal.m4: Regenerate.
821 * configure: Regenerate.
822 * Makefile.in: Regenerate.
824 2010-11-30 Tobias Burnus <burnus@net-b.de>
827 * Makefile.am: Install include files in
828 target/version specific directory.
829 * Makefile.in: Regenerate.
831 2010-11-30 Tobias Burnus <burnus@net-b.de>
833 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
834 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
835 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
837 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
839 * configure: Regenerated.
840 * Makefile.in: Regenerated.
841 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
842 (target_alias): Use AC_SUBST for it.
843 (GCC_NO_EXECUTABLES): Call it.
844 (AC_PROG_CC): Improve multilib handling.
845 Check that gcc is used for compilation.
846 Use pattern from libssp for symbol versioning checking.
847 * Makefile.am (LTLDFLAGS): Removed.
848 (libquadmath_la_LDFLAGS): Add -no-undefined.
849 (libquadmath_la_LINK): Commented out.
850 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
851 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
852 (MAKEOVERRIDES): New.
853 * aclocal.m4: Regenerated.
855 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
857 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
858 (libquadmath_la_LDFLAGS): ... here.
859 (quadmath.map-sun): Tabify.
861 * Makefile.in: Regenerate.
863 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
864 Tobias Burnus <burnus@net-b.de>
867 Initial implementation and checkin.
869 Copyright (C) 2010-2018 Free Software Foundation, Inc.
871 Copying and distribution of this file, with or without modification,
872 are permitted in any medium without royalty provided the copyright
873 notice and this notice are preserved.