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