1 2017-07-19 Jakub Jelinek <jakub@redhat.com>
4 * quadmath-imp.h (math_opt_barrier, math_force_eval,
5 math_narrow_eval, math_check_force_underflow,
6 math_check_force_underflow_nonneg): Define.
7 * math/ceilq.c: Backport changes from upstream glibc
8 between 2012-11-01 and 2017-07-13.
9 * math/remquoq.c: Likewise.
10 * math/expq.c: Likewise.
11 * math/llroundq.c: Likewise.
12 * math/logq.c: Likewise.
13 * math/atanq.c: Likewise.
14 * math/nearbyintq.c: Likewise.
15 * math/scalblnq.c: Likewise.
16 * math/finiteq.c: Likewise.
17 * math/atanhq.c: Likewise.
18 * math/expm1q.c: Likewise.
19 * math/sinhq.c: Likewise.
20 * math/log10q.c: Likewise.
21 * math/rintq.c: Likewise.
22 * math/roundq.c: Likewise.
23 * math/fmaq.c: Likewise.
24 * math/erfq.c: Likewise.
25 * math/log2q.c: Likewise.
26 * math/lroundq.c: Likewise.
27 * math/j1q.c: Likewise.
28 * math/scalbnq.c: Likewise.
29 * math/truncq.c: Likewise.
30 * math/frexpq.c: Likewise.
31 * math/sincosq.c: Likewise.
32 * math/tanhq.c: Likewise.
33 * math/asinq.c: Likewise.
34 * math/coshq.c: Likewise.
35 * math/j0q.c: Likewise.
36 * math/asinhq.c: Likewise.
37 * math/floorq.c: Likewise.
38 * math/sinq_kernel.c: Likewise.
39 * math/powq.c: Likewise.
40 * math/hypotq.c: Likewise.
41 * math/sincos_table.c: Likewise.
42 * math/rem_pio2q.c: Likewise.
43 * math/nextafterq.c: Likewise.
44 * math/log1pq.c: Likewise.
45 * math/sincosq_kernel.c: Likewise.
46 * math/tanq.c: Likewise.
47 * math/acosq.c: Likewise.
48 * math/lrintq.c: Likewise.
49 * math/llrintq.c: Likewise.
51 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
53 * configure.ac (ACX_BUGURL): Update.
54 * configure: Regenerate.
56 2017-01-17 Jakub Jelinek <jakub@redhat.com>
59 * configure.ac: Add GCC_BASE_VER.
60 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
61 get version from BASE-VER file.
62 * configure: Regenerated.
63 * Makefile.in: Regenerated.
65 2017-01-01 Jakub Jelinek <jakub@redhat.com>
67 * libquadmath.texi: Bump @copying's copyright year.
69 2016-11-15 Matthias Klose <doko@ubuntu.com>
71 * configure: Regenerate.
73 2016-01-04 Jakub Jelinek <jakub@redhat.com>
75 * libquadmath.texi: Bump @copying's copyright year.
77 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
79 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
80 * Makefile.in: Regenerate.
81 * libquadmath.texi: Document logbq.
82 * quadmath.h: Add logbq prototype.
83 * quadmath.map: Add logbq.
84 * quadmath_weak.h: Add logbq prototype.
85 * math/logbq.c: New file
87 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
89 * Makefile.in: Regenerated with automake-1.11.6.
90 * aclocal.m4: Likewise.
91 * configure: Likewise.
93 2015-01-26 Matthias Klose <doko@ubuntu.com>
95 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
96 * configure: Regenerate.
98 2015-01-05 Jakub Jelinek <jakub@redhat.com>
100 * libquadmath.texi: Bump @copying's copyright year.
102 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
105 * configure: Regenerated.
107 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
110 * configure: Regenerate.
112 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
115 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
116 * Makefile.in: Regenerate.
118 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
121 * Makefile.am: Conditionally define info_TEXINFOS and
122 libquadmath_TEXINFOS.
123 * Makefile.in: Regenerate.
125 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
128 * libquadmath.texi (sincosq): Fix typo.
130 2014-01-02 Tobias Burnus <burnus@net-b.de>
132 * libquadmath.texi: Bump @copying's copyright year.
134 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
136 * Makefile.am (AM_CPPFLAGS): Define.
137 * Makefile.in: Regenerate.
138 * printf/gmp-impl.h: Remove path from longlong.h include.
140 2013-09-20 Alan Modra <amodra@gmail.com>
142 * configure: Regenerate.
144 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
147 * quadmath.h: Add 'extern "C"' block for C++ use.
149 2013-02-19 Jakub Jelinek <jakub@redhat.com>
152 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
155 2013-02-17 Tobias Burnus <burnus@net-b.de>
157 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
159 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
161 Revert previous patch.
163 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
165 Update copyright years.
167 2013-01-22 Jakub Jelinek <jakub@redhat.com>
170 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
172 2012-12-13 Jakub Jelinek <jakub@redhat.com>
174 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
175 instead of L suffixed ones.
176 * math/fmaq.c (fmaq): Likewise.
177 * math/rintq.c (TWO112): Likewise.
179 2012-12-03 Tobias Burnus <burnus@net-b.de>
181 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
184 2012-11-25 Tobias Burnus <burnus@net-b.de>
187 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
188 instead of nonexisting HAVE_GET_ROUNDING_MODE.
190 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
193 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
196 2012-11-23 Tobias Burnus <burnus@net-b.de>
197 Joseph Myers <joseph@codesourcery.com>
199 * quadmath-rounding-mode.h: New.
200 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
201 * printf/fpioconst.h: Ditto.
202 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
203 Make printf respect the rounding mode for decimal output.
204 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
205 GLIBC. Make printf respect the rounding mode for hex output.
206 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
207 rounding mode. Fix strtod handling of underflow.
209 2012-11-22 David S. Miller <davem@davemloft.net>
210 Tobias Burnus <burnus@net-b.de>
211 Joseph Myers <joseph@codesourcery.com>
213 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
214 very large arguments properly.
215 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
216 underflow when 'x' is very small.
217 * math/j1q.c (y1q): Ditto.
218 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
219 nonzero exponents with absolute value below 0x1p-128 to
221 * math/powq.c (powq): Update from GLIBC. If xm1 is
222 smaller than LDBL_EPSILON/2.0L, just return xm1.
224 2012-11-21 Tobias Burnus <burnus@net-b.de>
227 * math/lgammaq.c (lgammaq): Use local variable if
228 math.h does not provide signgam.
229 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
230 * configure.ac: Use it.
231 * configure: Regenerate.
232 * config.h.in: Regenerate.
234 2012-11-15 Tobias Burnus <burnus@net-b.de>
235 Joseph Myers <joseph@codesourcery.com>
237 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
238 underflows with small x * y; Fix overflow results
239 outside round-to-nearest mode; make use of Dekker
240 and Knuth algorithms use round-to-nearest.
242 2012-11-01 Tobias Burnus <burnus@net-b.de>
244 * math/fmaq.c (fmaq): Fix build.
246 2012-11-01 Tobias Burnus <burnus@net-b.de>
247 Joseph Myers <joseph@codesourcery.com>
249 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
250 with small x * y using scaling, not as x * y + z.
251 * math/lgammaq.c (lgammaq): Fix signgam handling.
253 2012-11-01 Tobias Burnus <burnus@net-b.de>
255 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
256 * Makefile.in: Regenerated.
257 * math/acoshq.c: Update comment.
258 * math/acosq.c: Ditto.
259 * math/asinhq.c: Ditto.
260 * math/asinq.c: Ditto.
261 * math/atan2q.c: Ditto.
262 * math/atanhq.c: Ditto.
263 * math/ceilq.c: Ditto.
264 * math/copysignq.c: Ditto.
265 * math/cosq.c: Ditto.
266 * math/coshq.c: Ditto.
267 * math/erfq.c: Ditto.
268 * math/fabsq.c: Ditto.
269 * math/finiteq.c: Ditto.
270 * math/floorq.c: Ditto.
271 * math/fmodq.c: Ditto.
272 * math/frexpq.c: Ditto.
273 * math/isnanq.c: Ditto.
276 * math/ldexpq.c: Ditto.
277 * math/llroundq.c: Ditto.
278 * math/log10q.c: Ditto.
279 * math/log1pq.c: Ditto.
280 * math/log2q.c: Ditto.
281 * math/logq.c: Ditto.
282 * math/lroundq.c: Ditto.
283 * math/modfq.c: Ditto.
284 * math/nextafterq.c: Ditto.
285 * math/powq.c: Ditto.
286 * math/rem_pio2q.c: Ditto.
287 * math/remainderq.c: Ditto.
288 * math/rintq.c: Ditto.
289 * math/roundq.c: Ditto.
290 * math/scalblnq.c: Ditto.
291 * math/scalbnq.c: Ditto.
292 * math/sincosq_kernel.c: Ditto.
293 * math/sinq.c: Ditto.
294 * math/tanq.c: Ditto.
295 * math/expq.c: Ditto.
296 (__expq_table, expq): Renamed local array from __expl_table.
297 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
298 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
299 * math/casinhq.c: Changes from GLIBC to fix special-case.
300 * math/cbrtq.c: Use modified GLIBC version.
301 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
302 ctanhq, ctanq): Moved to separates files.
303 (mult_c128, div_c128): Removed no longer needed functions.
304 (cexpiq): Call sincosq instead of sinq and cosq.
305 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
306 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
307 modified based on GLIBC.
308 * math/cexpq.c (cexp): Ditto.
309 * math/clog10q.c (clog10q): Ditto.
310 * math/clogq.c (clogq): Ditto.
311 * math/csinhq.c: Ditto.
312 * math/csinq.c: Ditto.
313 * math/csqrtq.c: Ditto.
314 * math/ctanhq.c: Ditto.
315 * math/ctanq.c: Ditto.
316 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
318 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
319 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
321 * math/lgammaq.c (lgammaq): Add signgam handling.
322 * math/sinhq.c (sinhq): Fix sign handling.
323 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
324 * math/tgammaq.c (tgammaq): Ditto.
325 * math/x2y2m1q.c: New file.
326 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
327 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
329 2012-10-31 Tobias Burnus <burnus@net-b.de>
330 Joseph Myers <joseph@codesourcery.com>
331 David S. Miller <davem@davemloft.net>
332 Ulrich Drepper <drepper@redhat.com>
333 Marek Polacek <polacek@redhat.com>:
334 Petr Baudis <pasky@suse.cz>
336 * math/complex.c (csqrtq): NaN and INF fixes.
337 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
338 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
339 large parameters. Fix errno for boundary conditions.
340 * math/finiteq.c (finiteq): Add comment.
341 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
342 and bad results for some subnormal results. Fix sign of inexact
343 zero return. Fix sign of exact zero return.
344 Ensure additions are not scheduled after fetestexcept.
345 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
346 for ynq. Fix jnq precision.
347 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
348 manipulate bits before adding and subtracting TWO112[sx].
349 * math/rintq.c (rintq): Ditto.
350 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
353 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
355 * configure: Regenerated.
357 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
360 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
361 * configure: Regenerated.
363 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
365 * configure: Regenerated.
367 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
369 * configure: Regenerate.
371 2011-11-07 Kai Tietz <ktietz@redhat.com>
374 * quadmath-imp.h (ieee854_float128): Adjust
375 for ms-bitfield layout.
377 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
379 * printf/gmp-impl.h: Adapt path to longlong.h.
381 2011-09-21 Joseph Myers <joseph@codesourcery.com>
383 * Makefile.am (FLAGS_TO_PASS): Define.
384 * Makefile.in: Regenerate.
386 2011-08-01 Jakub Jelinek <jakub@redhat.com>
388 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
389 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
391 2011-04-03 Tobias Burnus <burnus@net-b.de>
394 * libquadmath.texi (strtoflt128): Fix typo.
395 (quadmath_snprintf): Move note up, make @item.
397 2011-03-25 Jakub Jelinek <jakub@redhat.com>
399 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
402 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
405 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
406 * configure: Regenerate.
408 2011-02-28 Jakub Jelinek <jakub@redhat.com>
410 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
411 that for size > 0 str is always zero terminated.
413 2011-02-20 Jakub Jelinek <jakub@redhat.com>
416 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
418 2011-02-17 Jakub Jelinek <jakub@redhat.com>
420 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
421 FLT128_MAX_10_EXP): Document.
422 (strtoflt128): Remove obsolete comment.
423 * configure.ac (HAVE_STRTOULL): New check.
424 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
426 * printf/mul_n.c: Include <config.h>.
427 * printf/add_n.c: Likewise.
428 * printf/cmp.c: Likewise.
429 * printf/fpioconst.c: Likewise.
430 * printf/mul_1.c: Likewise.
431 * printf/rshift.c: Likewise.
432 * printf/lshift.c: Likewise.
433 * printf/submul_1.c: Likewise.
434 * printf/sub_n.c: Likewise.
435 * printf/divrem.c: Likewise.
436 * printf/addmul_1.c: Likewise.
437 * printf/mul.c: Likewise.
438 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
439 to avoid evaluating argument multiple times.
440 (isxdigit): Redefine.
441 * strtod/strtoflt128.c: New file.
442 * strtod/strtod_l.c: New file.
443 * strtod/mpn2flt128.c: New file.
444 * strtod/grouping.h: New file.
445 * strtod/tens_in_limb.c: New file.
446 * gdtoa/arith.h: Removed.
447 * gdtoa/gd_qnan.h: Removed.
448 * gdtoa/gdtoa_fltrnds.h: Removed.
449 * gdtoa/gdtoa.h: Removed.
450 * gdtoa/gdtoaimp.h: Removed.
451 * gdtoa/gethex.c: Removed.
452 * gdtoa/gmisc.c: Removed.
453 * gdtoa/hd_init.c: Removed.
454 * gdtoa/hexnan.c: Removed.
455 * gdtoa/makefile: Removed.
456 * gdtoa/misc.c: Removed.
457 * gdtoa/README.gdtoa: Removed.
458 * gdtoa/smisc.c: Removed.
459 * gdtoa/strtodg.c: Removed.
460 * gdtoa/strtopQ.c: Removed.
461 * gdtoa/sum.c: Removed.
462 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
464 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
465 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
466 * config.h.in: Regenerated.
467 * configure: Regenerated.
468 * Makefile.in: Regenerated.
470 2011-02-16 Jakub Jelinek <jakub@redhat.com>
472 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
473 whether workarounds for printf hook handling should be added.
475 * configure.ac: Check for locale.h too.
476 (USE_LOCALE_SUPPORT): Remove check.
477 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
478 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
479 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
480 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
482 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
483 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
484 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
485 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
486 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
487 USE_I18N_NUMBER_H #ifdef.
488 * configure: Regenerated.
489 * config.h.in: Regenerated.
491 2011-02-14 Jakub Jelinek <jakub@redhat.com>
494 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
496 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
497 field instead of setting individual fields to 0. Don't set info.user
499 * configure: Regenerated.
501 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
502 * printf/printf_fp.c: Don't include <alloca.h>.
503 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
504 * configure: Regenerated.
507 * libquadmath.texi (quadmath_snprintf): Document.
508 (quadmath_flt128tostr): Remove.
509 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
510 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
511 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
512 * quadmath.h (quadmath_snprintf): New prototype.
513 (quadmath_flt128tostr): Remove.
514 * quadmath_weak.h (quadmath_snprintf): Add.
515 (quadmath_flt128tostr): Remove.
516 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
517 wctype.h, limits.h, ctype.h, printf.h, errno.h.
518 (AC_USE_SYSTEM_EXTENSIONS): Add.
519 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
520 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
521 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
522 quadmath_flt128tostr.
523 * printf/printf_fphex.c: New file.
524 * printf/_itowa.h: New file.
525 * printf/mul_n.c: New file.
526 * printf/quadmath-printf.h: New file.
527 * printf/submul_1.c: New file.
528 * printf/quadmath-printf.c: New file.
529 * printf/gmp-impl.h: New file.
530 * printf/lshift.c: New file.
531 * printf/fpioconst.h: New file.
532 * printf/add_n.c: New file.
533 * printf/cmp.c: New file.
534 * printf/sub_n.c: New file.
535 * printf/mul.c: New file.
536 * printf/divrem.c: New file.
537 * printf/addmul_1.c: New file.
538 * printf/printf_fp.c: New file.
539 * printf/_itoa.h: New file.
540 * printf/fpioconst.c: New file.
541 * printf/_i18n_number.h: New file.
542 * printf/flt1282mpn.c: New file.
543 * printf/rshift.c: New file.
544 * printf/mul_1.c: New file.
545 * quadmath_io.c: Removed.
546 * gdtoa/gdtoa.c: Removed.
547 * gdtoa/g__fmt.c: Removed.
548 * gdtoa/g_Qfmt.c: Removed.
549 * gdtoa/dmisc.c: Removed.
550 * gdtoa/ulp.c: Removed.
551 * config.h.in: Regenerated.
552 * configure: Regenerated.
553 * Makefile.in: Regenerated.
555 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
557 * Makefile.in: Regenerate.
558 * aclocal.m4: Likewise.
559 * configure: Likewise.
561 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
564 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
565 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
567 2011-01-17 Tobias Burnus <burnus@net-b.de>
570 * libquadmath.text: Document typedef and constants.
572 2011-01-17 Tobias Burnus <burnus@net-b.de>
575 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
576 bump copyright year and use /**/ instead of // comments.
578 * quadmath-weak.h: Ditto.
579 * quadmath_io.c: Ditto.
581 2011-01-16 Jakub Jelinek <jakub@redhat.com>
584 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
587 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
588 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
589 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
590 (strtoflt128, quadmath_flt128tostr): Add.
591 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
592 (strtoflt128): ... this. Return __float128, instead of writing
593 to memory pointed by last argument.
594 * quadmath.h: Use C style comments instead of C++ style.
595 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
596 (strtoflt128, quadmath_flt128tostr): Add prototypes.
597 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
598 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
600 * quadmath_io.c (quadmath_dtoaq): Rename to...
601 (quadmath_flt128tostr): ... this.
603 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
604 Use it for all prototypes.
607 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
608 const from prototype argument.
609 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
610 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
611 (__quadmath_extern_inline): Define.
612 (cimagq, conjq, crealq): New inlines.
613 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
614 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
615 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
616 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
617 * Makefile.in: Regenerated.
618 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
619 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
620 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
621 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
622 tests instead of __BIG_ENDIAN__.
623 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
624 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
626 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
627 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
628 * math/cprojq.c: New file.
629 * math/ilogbq.c: New file.
630 * math/fminq.c: New file.
631 * math/llrintq.c: New file.
632 * math/log2q.c: New file.
633 * math/lrintq.c: New file.
634 * math/crealq.c: New file.
635 * math/nearbyintq.c: New file.
636 * math/fmaxq.c: New file.
637 * math/conjq.c: New file.
638 * math/remquoq.c: New file.
639 * math/cimagq.c: New file.
640 * math/fdimq.c: New file.
642 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
645 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
647 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
648 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
649 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
651 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
652 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
653 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
655 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
656 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
658 * Makefile.in: Regenerated.
659 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
660 catanq, catanhq): Add.
661 * math/cacoshq.c: New file.
662 * math/cacosq.c: New file.
663 * math/catanq.c: New file.
664 * math/catanhq.c: New file.
665 * math/casinq.c: New file.
666 * math/casinhq.c: New file.
668 * math/hypotq.c (hypotq): Use Q suffix instead of L.
669 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
670 * math/cosq.c (cosq): Likewise.
673 * quadmath.map (QUADMATH_1.0): Add fmaq.
674 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
675 feupdateenv, fesetenv and fetestexcept.
676 * configure: Regenerated.
677 * config.h.in: Regenerated.
678 * quadmath.h (fmaq): New prototype.
679 * quadmath_weak.h (fmaq): Add.
680 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
681 * Makefile.in: Regenerated.
682 * quadmath-imp.h: Include config.h.
683 * math/expq.c: Include fenv.h.
684 (USE_FENV_H): Define if libm support for fe* is there.
685 (expq): Add fesetround etc. support if USE_FENV_H is defined.
686 * math/fmaq.c: New file.
687 * libquadmath.texi (fmaq): Add.
689 2011-01-14 Tobias Burnus <burnus@net-b.de>
692 * configure.ac: Use ACX_BUGURL.
693 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
694 * Makefile.am: Create libquadmath-vers.texi.
695 * configure.in: Regenerate.
696 * Makefile.in: Regenerate.
698 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
701 * Makefile.am (libquadmath.info): Unconditionally override
702 target, not only if BUILD_LIBQUADMATH.
703 * Makefile.in: Regenerate.
704 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
705 avoid warning from automake.
707 2010-12-19 Tobias Burnus <burnus@net-b.de>
710 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
711 * configure: Regenerate
713 2010-12-13 Tobias Burnus <burnus@net-b.de>
716 * gdtoa/gdtoaimp.h: Mangle internal functions by
717 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
718 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
719 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
720 if NO_STRING_H is set.
721 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
722 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
723 __quadmath prefix to internal functions.
724 * math/cosq.c (cosq): Ditto.
725 * math/sinq.c (cosq): Ditto.
726 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
727 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
728 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
729 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
731 2010-12-08 Tobias Burnus <burnus@net-b.de>
734 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
735 * gdtoa/gdtoaimp.h: Don't declare strtod.
737 2010-12-08 Tobias Burnus <burnus@net-b.de>
740 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
741 AC_TRY_LINK and cache libquad_have_float128.
742 * configure: Regenerate.
744 2010-12-08 Tobias Burnus <burnus@net-b.de>
747 * configure.ac: Add texinfo checks.
748 * Makefile.am: Handle .texi documentation.
749 * libquadmath.texi: New.
750 * configure: Regenerated.
751 * Makefile.in: Regenerated.
753 2010-12-06 Tobias Burnus <burnus@net-b.de>
756 * quadmath-imp.h: Add LGPL header.
757 * quadmath.h: Add LGPL header.
758 * quadmath_io.c: Add LGPL header.
759 * quadmath_weak.h: Add LGPL header.
761 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
765 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
766 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
767 * aclocal.m4: Regenerate.
768 * configure: Regenerate.
769 * Makefile.in: Regenerate.
771 2010-11-30 Tobias Burnus <burnus@net-b.de>
774 * Makefile.am: Install include files in
775 target/version specific directory.
776 * Makefile.in: Regenerate.
778 2010-11-30 Tobias Burnus <burnus@net-b.de>
780 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
781 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
782 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
784 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
786 * configure: Regenerated.
787 * Makefile.in: Regenerated.
788 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
789 (target_alias): Use AC_SUBST for it.
790 (GCC_NO_EXECUTABLES): Call it.
791 (AC_PROG_CC): Improve multilib handling.
792 Check that gcc is used for compilation.
793 Use pattern from libssp for symbol versioning checking.
794 * Makefile.am (LTLDFLAGS): Removed.
795 (libquadmath_la_LDFLAGS): Add -no-undefined.
796 (libquadmath_la_LINK): Commented out.
797 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
798 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
799 (MAKEOVERRIDES): New.
800 * aclocal.m4: Regenerated.
802 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
804 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
805 (libquadmath_la_LDFLAGS): ... here.
806 (quadmath.map-sun): Tabify.
808 * Makefile.in: Regenerate.
810 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
811 Tobias Burnus <burnus@net-b.de>
814 Initial implementation and checkin.
816 Copyright (C) 2010-2017 Free Software Foundation, Inc.
818 Copying and distribution of this file, with or without modification,
819 are permitted in any medium without royalty provided the copyright
820 notice and this notice are preserved.