1 2017-11-05 Tom de Vries <tom@codesourcery.com>
4 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
7 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
10 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
11 complex __float128 on PowerPC instead of attribute mode TC.
12 * quadmath.h (__complex128): Likewise.
13 * configure: Regenerate.
14 * math/cbrtq.c (CBRT2): Use __float128 not long double.
18 * math/j0q.c (U0): Likewise.
19 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
20 between __float128, instead explicitly convert the __float128
21 value to long double because the PowerPC does not allow __float128
22 and long double in the same expression.
24 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
26 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
28 2017-07-19 Jakub Jelinek <jakub@redhat.com>
31 * quadmath-imp.h (math_opt_barrier, math_force_eval,
32 math_narrow_eval, math_check_force_underflow,
33 math_check_force_underflow_nonneg): Define.
34 * math/ceilq.c: Backport changes from upstream glibc
35 between 2012-11-01 and 2017-07-13.
36 * math/remquoq.c: Likewise.
37 * math/expq.c: Likewise.
38 * math/llroundq.c: Likewise.
39 * math/logq.c: Likewise.
40 * math/atanq.c: Likewise.
41 * math/nearbyintq.c: Likewise.
42 * math/scalblnq.c: Likewise.
43 * math/finiteq.c: Likewise.
44 * math/atanhq.c: Likewise.
45 * math/expm1q.c: Likewise.
46 * math/sinhq.c: Likewise.
47 * math/log10q.c: Likewise.
48 * math/rintq.c: Likewise.
49 * math/roundq.c: Likewise.
50 * math/fmaq.c: Likewise.
51 * math/erfq.c: Likewise.
52 * math/log2q.c: Likewise.
53 * math/lroundq.c: Likewise.
54 * math/j1q.c: Likewise.
55 * math/scalbnq.c: Likewise.
56 * math/truncq.c: Likewise.
57 * math/frexpq.c: Likewise.
58 * math/sincosq.c: Likewise.
59 * math/tanhq.c: Likewise.
60 * math/asinq.c: Likewise.
61 * math/coshq.c: Likewise.
62 * math/j0q.c: Likewise.
63 * math/asinhq.c: Likewise.
64 * math/floorq.c: Likewise.
65 * math/sinq_kernel.c: Likewise.
66 * math/powq.c: Likewise.
67 * math/hypotq.c: Likewise.
68 * math/sincos_table.c: Likewise.
69 * math/rem_pio2q.c: Likewise.
70 * math/nextafterq.c: Likewise.
71 * math/log1pq.c: Likewise.
72 * math/sincosq_kernel.c: Likewise.
73 * math/tanq.c: Likewise.
74 * math/acosq.c: Likewise.
75 * math/lrintq.c: Likewise.
76 * math/llrintq.c: Likewise.
78 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
80 * configure.ac (ACX_BUGURL): Update.
81 * configure: Regenerate.
83 2017-01-17 Jakub Jelinek <jakub@redhat.com>
86 * configure.ac: Add GCC_BASE_VER.
87 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
88 get version from BASE-VER file.
89 * configure: Regenerated.
90 * Makefile.in: Regenerated.
92 2017-01-01 Jakub Jelinek <jakub@redhat.com>
94 * libquadmath.texi: Bump @copying's copyright year.
96 2016-11-15 Matthias Klose <doko@ubuntu.com>
98 * configure: Regenerate.
100 2016-01-04 Jakub Jelinek <jakub@redhat.com>
102 * libquadmath.texi: Bump @copying's copyright year.
104 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
106 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
107 * Makefile.in: Regenerate.
108 * libquadmath.texi: Document logbq.
109 * quadmath.h: Add logbq prototype.
110 * quadmath.map: Add logbq.
111 * quadmath_weak.h: Add logbq prototype.
112 * math/logbq.c: New file
114 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
116 * Makefile.in: Regenerated with automake-1.11.6.
117 * aclocal.m4: Likewise.
118 * configure: Likewise.
120 2015-01-26 Matthias Klose <doko@ubuntu.com>
122 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
123 * configure: Regenerate.
125 2015-01-05 Jakub Jelinek <jakub@redhat.com>
127 * libquadmath.texi: Bump @copying's copyright year.
129 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
132 * configure: Regenerated.
134 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
137 * configure: Regenerate.
139 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
142 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
143 * Makefile.in: Regenerate.
145 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
148 * Makefile.am: Conditionally define info_TEXINFOS and
149 libquadmath_TEXINFOS.
150 * Makefile.in: Regenerate.
152 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
155 * libquadmath.texi (sincosq): Fix typo.
157 2014-01-02 Tobias Burnus <burnus@net-b.de>
159 * libquadmath.texi: Bump @copying's copyright year.
161 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
163 * Makefile.am (AM_CPPFLAGS): Define.
164 * Makefile.in: Regenerate.
165 * printf/gmp-impl.h: Remove path from longlong.h include.
167 2013-09-20 Alan Modra <amodra@gmail.com>
169 * configure: Regenerate.
171 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
174 * quadmath.h: Add 'extern "C"' block for C++ use.
176 2013-02-19 Jakub Jelinek <jakub@redhat.com>
179 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
182 2013-02-17 Tobias Burnus <burnus@net-b.de>
184 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
186 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
188 Revert previous patch.
190 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
192 Update copyright years.
194 2013-01-22 Jakub Jelinek <jakub@redhat.com>
197 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
199 2012-12-13 Jakub Jelinek <jakub@redhat.com>
201 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
202 instead of L suffixed ones.
203 * math/fmaq.c (fmaq): Likewise.
204 * math/rintq.c (TWO112): Likewise.
206 2012-12-03 Tobias Burnus <burnus@net-b.de>
208 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
211 2012-11-25 Tobias Burnus <burnus@net-b.de>
214 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
215 instead of nonexisting HAVE_GET_ROUNDING_MODE.
217 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
220 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
223 2012-11-23 Tobias Burnus <burnus@net-b.de>
224 Joseph Myers <joseph@codesourcery.com>
226 * quadmath-rounding-mode.h: New.
227 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
228 * printf/fpioconst.h: Ditto.
229 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
230 Make printf respect the rounding mode for decimal output.
231 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
232 GLIBC. Make printf respect the rounding mode for hex output.
233 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
234 rounding mode. Fix strtod handling of underflow.
236 2012-11-22 David S. Miller <davem@davemloft.net>
237 Tobias Burnus <burnus@net-b.de>
238 Joseph Myers <joseph@codesourcery.com>
240 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
241 very large arguments properly.
242 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
243 underflow when 'x' is very small.
244 * math/j1q.c (y1q): Ditto.
245 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
246 nonzero exponents with absolute value below 0x1p-128 to
248 * math/powq.c (powq): Update from GLIBC. If xm1 is
249 smaller than LDBL_EPSILON/2.0L, just return xm1.
251 2012-11-21 Tobias Burnus <burnus@net-b.de>
254 * math/lgammaq.c (lgammaq): Use local variable if
255 math.h does not provide signgam.
256 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
257 * configure.ac: Use it.
258 * configure: Regenerate.
259 * config.h.in: Regenerate.
261 2012-11-15 Tobias Burnus <burnus@net-b.de>
262 Joseph Myers <joseph@codesourcery.com>
264 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
265 underflows with small x * y; Fix overflow results
266 outside round-to-nearest mode; make use of Dekker
267 and Knuth algorithms use round-to-nearest.
269 2012-11-01 Tobias Burnus <burnus@net-b.de>
271 * math/fmaq.c (fmaq): Fix build.
273 2012-11-01 Tobias Burnus <burnus@net-b.de>
274 Joseph Myers <joseph@codesourcery.com>
276 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
277 with small x * y using scaling, not as x * y + z.
278 * math/lgammaq.c (lgammaq): Fix signgam handling.
280 2012-11-01 Tobias Burnus <burnus@net-b.de>
282 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
283 * Makefile.in: Regenerated.
284 * math/acoshq.c: Update comment.
285 * math/acosq.c: Ditto.
286 * math/asinhq.c: Ditto.
287 * math/asinq.c: Ditto.
288 * math/atan2q.c: Ditto.
289 * math/atanhq.c: Ditto.
290 * math/ceilq.c: Ditto.
291 * math/copysignq.c: Ditto.
292 * math/cosq.c: Ditto.
293 * math/coshq.c: Ditto.
294 * math/erfq.c: Ditto.
295 * math/fabsq.c: Ditto.
296 * math/finiteq.c: Ditto.
297 * math/floorq.c: Ditto.
298 * math/fmodq.c: Ditto.
299 * math/frexpq.c: Ditto.
300 * math/isnanq.c: Ditto.
303 * math/ldexpq.c: Ditto.
304 * math/llroundq.c: Ditto.
305 * math/log10q.c: Ditto.
306 * math/log1pq.c: Ditto.
307 * math/log2q.c: Ditto.
308 * math/logq.c: Ditto.
309 * math/lroundq.c: Ditto.
310 * math/modfq.c: Ditto.
311 * math/nextafterq.c: Ditto.
312 * math/powq.c: Ditto.
313 * math/rem_pio2q.c: Ditto.
314 * math/remainderq.c: Ditto.
315 * math/rintq.c: Ditto.
316 * math/roundq.c: Ditto.
317 * math/scalblnq.c: Ditto.
318 * math/scalbnq.c: Ditto.
319 * math/sincosq_kernel.c: Ditto.
320 * math/sinq.c: Ditto.
321 * math/tanq.c: Ditto.
322 * math/expq.c: Ditto.
323 (__expq_table, expq): Renamed local array from __expl_table.
324 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
325 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
326 * math/casinhq.c: Changes from GLIBC to fix special-case.
327 * math/cbrtq.c: Use modified GLIBC version.
328 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
329 ctanhq, ctanq): Moved to separates files.
330 (mult_c128, div_c128): Removed no longer needed functions.
331 (cexpiq): Call sincosq instead of sinq and cosq.
332 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
333 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
334 modified based on GLIBC.
335 * math/cexpq.c (cexp): Ditto.
336 * math/clog10q.c (clog10q): Ditto.
337 * math/clogq.c (clogq): Ditto.
338 * math/csinhq.c: Ditto.
339 * math/csinq.c: Ditto.
340 * math/csqrtq.c: Ditto.
341 * math/ctanhq.c: Ditto.
342 * math/ctanq.c: Ditto.
343 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
345 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
346 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
348 * math/lgammaq.c (lgammaq): Add signgam handling.
349 * math/sinhq.c (sinhq): Fix sign handling.
350 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
351 * math/tgammaq.c (tgammaq): Ditto.
352 * math/x2y2m1q.c: New file.
353 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
354 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
356 2012-10-31 Tobias Burnus <burnus@net-b.de>
357 Joseph Myers <joseph@codesourcery.com>
358 David S. Miller <davem@davemloft.net>
359 Ulrich Drepper <drepper@redhat.com>
360 Marek Polacek <polacek@redhat.com>:
361 Petr Baudis <pasky@suse.cz>
363 * math/complex.c (csqrtq): NaN and INF fixes.
364 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
365 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
366 large parameters. Fix errno for boundary conditions.
367 * math/finiteq.c (finiteq): Add comment.
368 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
369 and bad results for some subnormal results. Fix sign of inexact
370 zero return. Fix sign of exact zero return.
371 Ensure additions are not scheduled after fetestexcept.
372 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
373 for ynq. Fix jnq precision.
374 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
375 manipulate bits before adding and subtracting TWO112[sx].
376 * math/rintq.c (rintq): Ditto.
377 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
380 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
382 * configure: Regenerated.
384 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
387 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
388 * configure: Regenerated.
390 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
392 * configure: Regenerated.
394 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
396 * configure: Regenerate.
398 2011-11-07 Kai Tietz <ktietz@redhat.com>
401 * quadmath-imp.h (ieee854_float128): Adjust
402 for ms-bitfield layout.
404 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
406 * printf/gmp-impl.h: Adapt path to longlong.h.
408 2011-09-21 Joseph Myers <joseph@codesourcery.com>
410 * Makefile.am (FLAGS_TO_PASS): Define.
411 * Makefile.in: Regenerate.
413 2011-08-01 Jakub Jelinek <jakub@redhat.com>
415 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
416 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
418 2011-04-03 Tobias Burnus <burnus@net-b.de>
421 * libquadmath.texi (strtoflt128): Fix typo.
422 (quadmath_snprintf): Move note up, make @item.
424 2011-03-25 Jakub Jelinek <jakub@redhat.com>
426 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
429 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
432 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
433 * configure: Regenerate.
435 2011-02-28 Jakub Jelinek <jakub@redhat.com>
437 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
438 that for size > 0 str is always zero terminated.
440 2011-02-20 Jakub Jelinek <jakub@redhat.com>
443 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
445 2011-02-17 Jakub Jelinek <jakub@redhat.com>
447 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
448 FLT128_MAX_10_EXP): Document.
449 (strtoflt128): Remove obsolete comment.
450 * configure.ac (HAVE_STRTOULL): New check.
451 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
453 * printf/mul_n.c: Include <config.h>.
454 * printf/add_n.c: Likewise.
455 * printf/cmp.c: Likewise.
456 * printf/fpioconst.c: Likewise.
457 * printf/mul_1.c: Likewise.
458 * printf/rshift.c: Likewise.
459 * printf/lshift.c: Likewise.
460 * printf/submul_1.c: Likewise.
461 * printf/sub_n.c: Likewise.
462 * printf/divrem.c: Likewise.
463 * printf/addmul_1.c: Likewise.
464 * printf/mul.c: Likewise.
465 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
466 to avoid evaluating argument multiple times.
467 (isxdigit): Redefine.
468 * strtod/strtoflt128.c: New file.
469 * strtod/strtod_l.c: New file.
470 * strtod/mpn2flt128.c: New file.
471 * strtod/grouping.h: New file.
472 * strtod/tens_in_limb.c: New file.
473 * gdtoa/arith.h: Removed.
474 * gdtoa/gd_qnan.h: Removed.
475 * gdtoa/gdtoa_fltrnds.h: Removed.
476 * gdtoa/gdtoa.h: Removed.
477 * gdtoa/gdtoaimp.h: Removed.
478 * gdtoa/gethex.c: Removed.
479 * gdtoa/gmisc.c: Removed.
480 * gdtoa/hd_init.c: Removed.
481 * gdtoa/hexnan.c: Removed.
482 * gdtoa/makefile: Removed.
483 * gdtoa/misc.c: Removed.
484 * gdtoa/README.gdtoa: Removed.
485 * gdtoa/smisc.c: Removed.
486 * gdtoa/strtodg.c: Removed.
487 * gdtoa/strtopQ.c: Removed.
488 * gdtoa/sum.c: Removed.
489 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
491 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
492 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
493 * config.h.in: Regenerated.
494 * configure: Regenerated.
495 * Makefile.in: Regenerated.
497 2011-02-16 Jakub Jelinek <jakub@redhat.com>
499 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
500 whether workarounds for printf hook handling should be added.
502 * configure.ac: Check for locale.h too.
503 (USE_LOCALE_SUPPORT): Remove check.
504 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
505 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
506 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
507 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
509 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
510 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
511 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
512 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
513 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
514 USE_I18N_NUMBER_H #ifdef.
515 * configure: Regenerated.
516 * config.h.in: Regenerated.
518 2011-02-14 Jakub Jelinek <jakub@redhat.com>
521 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
523 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
524 field instead of setting individual fields to 0. Don't set info.user
526 * configure: Regenerated.
528 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
529 * printf/printf_fp.c: Don't include <alloca.h>.
530 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
531 * configure: Regenerated.
534 * libquadmath.texi (quadmath_snprintf): Document.
535 (quadmath_flt128tostr): Remove.
536 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
537 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
538 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
539 * quadmath.h (quadmath_snprintf): New prototype.
540 (quadmath_flt128tostr): Remove.
541 * quadmath_weak.h (quadmath_snprintf): Add.
542 (quadmath_flt128tostr): Remove.
543 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
544 wctype.h, limits.h, ctype.h, printf.h, errno.h.
545 (AC_USE_SYSTEM_EXTENSIONS): Add.
546 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
547 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
548 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
549 quadmath_flt128tostr.
550 * printf/printf_fphex.c: New file.
551 * printf/_itowa.h: New file.
552 * printf/mul_n.c: New file.
553 * printf/quadmath-printf.h: New file.
554 * printf/submul_1.c: New file.
555 * printf/quadmath-printf.c: New file.
556 * printf/gmp-impl.h: New file.
557 * printf/lshift.c: New file.
558 * printf/fpioconst.h: New file.
559 * printf/add_n.c: New file.
560 * printf/cmp.c: New file.
561 * printf/sub_n.c: New file.
562 * printf/mul.c: New file.
563 * printf/divrem.c: New file.
564 * printf/addmul_1.c: New file.
565 * printf/printf_fp.c: New file.
566 * printf/_itoa.h: New file.
567 * printf/fpioconst.c: New file.
568 * printf/_i18n_number.h: New file.
569 * printf/flt1282mpn.c: New file.
570 * printf/rshift.c: New file.
571 * printf/mul_1.c: New file.
572 * quadmath_io.c: Removed.
573 * gdtoa/gdtoa.c: Removed.
574 * gdtoa/g__fmt.c: Removed.
575 * gdtoa/g_Qfmt.c: Removed.
576 * gdtoa/dmisc.c: Removed.
577 * gdtoa/ulp.c: Removed.
578 * config.h.in: Regenerated.
579 * configure: Regenerated.
580 * Makefile.in: Regenerated.
582 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
584 * Makefile.in: Regenerate.
585 * aclocal.m4: Likewise.
586 * configure: Likewise.
588 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
591 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
592 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
594 2011-01-17 Tobias Burnus <burnus@net-b.de>
597 * libquadmath.text: Document typedef and constants.
599 2011-01-17 Tobias Burnus <burnus@net-b.de>
602 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
603 bump copyright year and use /**/ instead of // comments.
605 * quadmath-weak.h: Ditto.
606 * quadmath_io.c: Ditto.
608 2011-01-16 Jakub Jelinek <jakub@redhat.com>
611 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
614 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
615 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
616 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
617 (strtoflt128, quadmath_flt128tostr): Add.
618 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
619 (strtoflt128): ... this. Return __float128, instead of writing
620 to memory pointed by last argument.
621 * quadmath.h: Use C style comments instead of C++ style.
622 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
623 (strtoflt128, quadmath_flt128tostr): Add prototypes.
624 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
625 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
627 * quadmath_io.c (quadmath_dtoaq): Rename to...
628 (quadmath_flt128tostr): ... this.
630 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
631 Use it for all prototypes.
634 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
635 const from prototype argument.
636 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
637 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
638 (__quadmath_extern_inline): Define.
639 (cimagq, conjq, crealq): New inlines.
640 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
641 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
642 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
643 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
644 * Makefile.in: Regenerated.
645 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
646 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
647 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
648 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
649 tests instead of __BIG_ENDIAN__.
650 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
651 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
653 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
654 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
655 * math/cprojq.c: New file.
656 * math/ilogbq.c: New file.
657 * math/fminq.c: New file.
658 * math/llrintq.c: New file.
659 * math/log2q.c: New file.
660 * math/lrintq.c: New file.
661 * math/crealq.c: New file.
662 * math/nearbyintq.c: New file.
663 * math/fmaxq.c: New file.
664 * math/conjq.c: New file.
665 * math/remquoq.c: New file.
666 * math/cimagq.c: New file.
667 * math/fdimq.c: New file.
669 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
672 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
674 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
675 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
676 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
678 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
679 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
680 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
682 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
683 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
685 * Makefile.in: Regenerated.
686 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
687 catanq, catanhq): Add.
688 * math/cacoshq.c: New file.
689 * math/cacosq.c: New file.
690 * math/catanq.c: New file.
691 * math/catanhq.c: New file.
692 * math/casinq.c: New file.
693 * math/casinhq.c: New file.
695 * math/hypotq.c (hypotq): Use Q suffix instead of L.
696 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
697 * math/cosq.c (cosq): Likewise.
700 * quadmath.map (QUADMATH_1.0): Add fmaq.
701 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
702 feupdateenv, fesetenv and fetestexcept.
703 * configure: Regenerated.
704 * config.h.in: Regenerated.
705 * quadmath.h (fmaq): New prototype.
706 * quadmath_weak.h (fmaq): Add.
707 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
708 * Makefile.in: Regenerated.
709 * quadmath-imp.h: Include config.h.
710 * math/expq.c: Include fenv.h.
711 (USE_FENV_H): Define if libm support for fe* is there.
712 (expq): Add fesetround etc. support if USE_FENV_H is defined.
713 * math/fmaq.c: New file.
714 * libquadmath.texi (fmaq): Add.
716 2011-01-14 Tobias Burnus <burnus@net-b.de>
719 * configure.ac: Use ACX_BUGURL.
720 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
721 * Makefile.am: Create libquadmath-vers.texi.
722 * configure.in: Regenerate.
723 * Makefile.in: Regenerate.
725 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
728 * Makefile.am (libquadmath.info): Unconditionally override
729 target, not only if BUILD_LIBQUADMATH.
730 * Makefile.in: Regenerate.
731 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
732 avoid warning from automake.
734 2010-12-19 Tobias Burnus <burnus@net-b.de>
737 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
738 * configure: Regenerate
740 2010-12-13 Tobias Burnus <burnus@net-b.de>
743 * gdtoa/gdtoaimp.h: Mangle internal functions by
744 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
745 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
746 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
747 if NO_STRING_H is set.
748 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
749 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
750 __quadmath prefix to internal functions.
751 * math/cosq.c (cosq): Ditto.
752 * math/sinq.c (cosq): Ditto.
753 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
754 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
755 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
756 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
758 2010-12-08 Tobias Burnus <burnus@net-b.de>
761 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
762 * gdtoa/gdtoaimp.h: Don't declare strtod.
764 2010-12-08 Tobias Burnus <burnus@net-b.de>
767 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
768 AC_TRY_LINK and cache libquad_have_float128.
769 * configure: Regenerate.
771 2010-12-08 Tobias Burnus <burnus@net-b.de>
774 * configure.ac: Add texinfo checks.
775 * Makefile.am: Handle .texi documentation.
776 * libquadmath.texi: New.
777 * configure: Regenerated.
778 * Makefile.in: Regenerated.
780 2010-12-06 Tobias Burnus <burnus@net-b.de>
783 * quadmath-imp.h: Add LGPL header.
784 * quadmath.h: Add LGPL header.
785 * quadmath_io.c: Add LGPL header.
786 * quadmath_weak.h: Add LGPL header.
788 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
792 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
793 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
794 * aclocal.m4: Regenerate.
795 * configure: Regenerate.
796 * Makefile.in: Regenerate.
798 2010-11-30 Tobias Burnus <burnus@net-b.de>
801 * Makefile.am: Install include files in
802 target/version specific directory.
803 * Makefile.in: Regenerate.
805 2010-11-30 Tobias Burnus <burnus@net-b.de>
807 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
808 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
809 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
811 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
813 * configure: Regenerated.
814 * Makefile.in: Regenerated.
815 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
816 (target_alias): Use AC_SUBST for it.
817 (GCC_NO_EXECUTABLES): Call it.
818 (AC_PROG_CC): Improve multilib handling.
819 Check that gcc is used for compilation.
820 Use pattern from libssp for symbol versioning checking.
821 * Makefile.am (LTLDFLAGS): Removed.
822 (libquadmath_la_LDFLAGS): Add -no-undefined.
823 (libquadmath_la_LINK): Commented out.
824 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
825 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
826 (MAKEOVERRIDES): New.
827 * aclocal.m4: Regenerated.
829 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
831 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
832 (libquadmath_la_LDFLAGS): ... here.
833 (quadmath.map-sun): Tabify.
835 * Makefile.in: Regenerate.
837 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
838 Tobias Burnus <burnus@net-b.de>
841 Initial implementation and checkin.
843 Copyright (C) 2010-2017 Free Software Foundation, Inc.
845 Copying and distribution of this file, with or without modification,
846 are permitted in any medium without royalty provided the copyright
847 notice and this notice are preserved.