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