1 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
3 * Makefile.am (libquadmath_la_SOURCES): Add math/logbq.c.
4 * Makefile.in: Regenerate.
5 * libquadmath.texi: Document logbq.
6 * quadmath.h: Add logbq prototype.
7 * quadmath.map: Add logbq.
8 * quadmath_weak.h: Add logbq prototype.
9 * math/logbq.c: New file
11 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
13 * Makefile.in: Regenerated with automake-1.11.6.
14 * aclocal.m4: Likewise.
15 * configure: Likewise.
17 2015-01-26 Matthias Klose <doko@ubuntu.com>
19 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
20 * configure: Regenerate.
22 2015-01-05 Jakub Jelinek <jakub@redhat.com>
24 * libquadmath.texi: Bump @copying's copyright year.
26 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
29 * configure: Regenerated.
31 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
34 * configure: Regenerate.
36 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
39 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
40 * Makefile.in: Regenerate.
42 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
45 * Makefile.am: Conditionally define info_TEXINFOS and
47 * Makefile.in: Regenerate.
49 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
52 * libquadmath.texi (sincosq): Fix typo.
54 2014-01-02 Tobias Burnus <burnus@net-b.de>
56 * libquadmath.texi: Bump @copying's copyright year.
58 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
60 * Makefile.am (AM_CPPFLAGS): Define.
61 * Makefile.in: Regenerate.
62 * printf/gmp-impl.h: Remove path from longlong.h include.
64 2013-09-20 Alan Modra <amodra@gmail.com>
66 * configure: Regenerate.
68 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
71 * quadmath.h: Add 'extern "C"' block for C++ use.
73 2013-02-19 Jakub Jelinek <jakub@redhat.com>
76 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
79 2013-02-17 Tobias Burnus <burnus@net-b.de>
81 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
83 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
85 Revert previous patch.
87 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
89 Update copyright years.
91 2013-01-22 Jakub Jelinek <jakub@redhat.com>
94 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
96 2012-12-13 Jakub Jelinek <jakub@redhat.com>
98 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
99 instead of L suffixed ones.
100 * math/fmaq.c (fmaq): Likewise.
101 * math/rintq.c (TWO112): Likewise.
103 2012-12-03 Tobias Burnus <burnus@net-b.de>
105 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
108 2012-11-25 Tobias Burnus <burnus@net-b.de>
111 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
112 instead of nonexisting HAVE_GET_ROUNDING_MODE.
114 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
117 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
120 2012-11-23 Tobias Burnus <burnus@net-b.de>
121 Joseph Myers <joseph@codesourcery.com>
123 * quadmath-rounding-mode.h: New.
124 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
125 * printf/fpioconst.h: Ditto.
126 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
127 Make printf respect the rounding mode for decimal output.
128 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
129 GLIBC. Make printf respect the rounding mode for hex output.
130 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
131 rounding mode. Fix strtod handling of underflow.
133 2012-11-22 David S. Miller <davem@davemloft.net>
134 Tobias Burnus <burnus@net-b.de>
135 Joseph Myers <joseph@codesourcery.com>
137 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
138 very large arguments properly.
139 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
140 underflow when 'x' is very small.
141 * math/j1q.c (y1q): Ditto.
142 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
143 nonzero exponents with absolute value below 0x1p-128 to
145 * math/powq.c (powq): Update from GLIBC. If xm1 is
146 smaller than LDBL_EPSILON/2.0L, just return xm1.
148 2012-11-21 Tobias Burnus <burnus@net-b.de>
151 * math/lgammaq.c (lgammaq): Use local variable if
152 math.h does not provide signgam.
153 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
154 * configure.ac: Use it.
155 * configure: Regenerate.
156 * config.h.in: Regenerate.
158 2012-11-15 Tobias Burnus <burnus@net-b.de>
159 Joseph Myers <joseph@codesourcery.com>
161 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
162 underflows with small x * y; Fix overflow results
163 outside round-to-nearest mode; make use of Dekker
164 and Knuth algorithms use round-to-nearest.
166 2012-11-01 Tobias Burnus <burnus@net-b.de>
168 * math/fmaq.c (fmaq): Fix build.
170 2012-11-01 Tobias Burnus <burnus@net-b.de>
171 Joseph Myers <joseph@codesourcery.com>
173 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
174 with small x * y using scaling, not as x * y + z.
175 * math/lgammaq.c (lgammaq): Fix signgam handling.
177 2012-11-01 Tobias Burnus <burnus@net-b.de>
179 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
180 * Makefile.in: Regenerated.
181 * math/acoshq.c: Update comment.
182 * math/acosq.c: Ditto.
183 * math/asinhq.c: Ditto.
184 * math/asinq.c: Ditto.
185 * math/atan2q.c: Ditto.
186 * math/atanhq.c: Ditto.
187 * math/ceilq.c: Ditto.
188 * math/copysignq.c: Ditto.
189 * math/cosq.c: Ditto.
190 * math/coshq.c: Ditto.
191 * math/erfq.c: Ditto.
192 * math/fabsq.c: Ditto.
193 * math/finiteq.c: Ditto.
194 * math/floorq.c: Ditto.
195 * math/fmodq.c: Ditto.
196 * math/frexpq.c: Ditto.
197 * math/isnanq.c: Ditto.
200 * math/ldexpq.c: Ditto.
201 * math/llroundq.c: Ditto.
202 * math/log10q.c: Ditto.
203 * math/log1pq.c: Ditto.
204 * math/log2q.c: Ditto.
205 * math/logq.c: Ditto.
206 * math/lroundq.c: Ditto.
207 * math/modfq.c: Ditto.
208 * math/nextafterq.c: Ditto.
209 * math/powq.c: Ditto.
210 * math/rem_pio2q.c: Ditto.
211 * math/remainderq.c: Ditto.
212 * math/rintq.c: Ditto.
213 * math/roundq.c: Ditto.
214 * math/scalblnq.c: Ditto.
215 * math/scalbnq.c: Ditto.
216 * math/sincosq_kernel.c: Ditto.
217 * math/sinq.c: Ditto.
218 * math/tanq.c: Ditto.
219 * math/expq.c: Ditto.
220 (__expq_table, expq): Renamed local array from __expl_table.
221 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
222 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
223 * math/casinhq.c: Changes from GLIBC to fix special-case.
224 * math/cbrtq.c: Use modified GLIBC version.
225 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
226 ctanhq, ctanq): Moved to separates files.
227 (mult_c128, div_c128): Removed no longer needed functions.
228 (cexpiq): Call sincosq instead of sinq and cosq.
229 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
230 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
231 modified based on GLIBC.
232 * math/cexpq.c (cexp): Ditto.
233 * math/clog10q.c (clog10q): Ditto.
234 * math/clogq.c (clogq): Ditto.
235 * math/csinhq.c: Ditto.
236 * math/csinq.c: Ditto.
237 * math/csqrtq.c: Ditto.
238 * math/ctanhq.c: Ditto.
239 * math/ctanq.c: Ditto.
240 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
242 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
243 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
245 * math/lgammaq.c (lgammaq): Add signgam handling.
246 * math/sinhq.c (sinhq): Fix sign handling.
247 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
248 * math/tgammaq.c (tgammaq): Ditto.
249 * math/x2y2m1q.c: New file.
250 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
251 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
253 2012-10-31 Tobias Burnus <burnus@net-b.de>
254 Joseph Myers <joseph@codesourcery.com>
255 David S. Miller <davem@davemloft.net>
256 Ulrich Drepper <drepper@redhat.com>
257 Marek Polacek <polacek@redhat.com>:
258 Petr Baudis <pasky@suse.cz>
260 * math/complex.c (csqrtq): NaN and INF fixes.
261 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
262 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
263 large parameters. Fix errno for boundary conditions.
264 * math/finiteq.c (finiteq): Add comment.
265 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
266 and bad results for some subnormal results. Fix sign of inexact
267 zero return. Fix sign of exact zero return.
268 Ensure additions are not scheduled after fetestexcept.
269 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
270 for ynq. Fix jnq precision.
271 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
272 manipulate bits before adding and subtracting TWO112[sx].
273 * math/rintq.c (rintq): Ditto.
274 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
277 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
279 * configure: Regenerated.
281 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
284 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
285 * configure: Regenerated.
287 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
289 * configure: Regenerated.
291 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
293 * configure: Regenerate.
295 2011-11-07 Kai Tietz <ktietz@redhat.com>
298 * quadmath-imp.h (ieee854_float128): Adjust
299 for ms-bitfield layout.
301 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
303 * printf/gmp-impl.h: Adapt path to longlong.h.
305 2011-09-21 Joseph Myers <joseph@codesourcery.com>
307 * Makefile.am (FLAGS_TO_PASS): Define.
308 * Makefile.in: Regenerate.
310 2011-08-01 Jakub Jelinek <jakub@redhat.com>
312 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
313 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
315 2011-04-03 Tobias Burnus <burnus@net-b.de>
318 * libquadmath.texi (strtoflt128): Fix typo.
319 (quadmath_snprintf): Move note up, make @item.
321 2011-03-25 Jakub Jelinek <jakub@redhat.com>
323 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
326 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
329 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
330 * configure: Regenerate.
332 2011-02-28 Jakub Jelinek <jakub@redhat.com>
334 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
335 that for size > 0 str is always zero terminated.
337 2011-02-20 Jakub Jelinek <jakub@redhat.com>
340 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
342 2011-02-17 Jakub Jelinek <jakub@redhat.com>
344 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
345 FLT128_MAX_10_EXP): Document.
346 (strtoflt128): Remove obsolete comment.
347 * configure.ac (HAVE_STRTOULL): New check.
348 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
350 * printf/mul_n.c: Include <config.h>.
351 * printf/add_n.c: Likewise.
352 * printf/cmp.c: Likewise.
353 * printf/fpioconst.c: Likewise.
354 * printf/mul_1.c: Likewise.
355 * printf/rshift.c: Likewise.
356 * printf/lshift.c: Likewise.
357 * printf/submul_1.c: Likewise.
358 * printf/sub_n.c: Likewise.
359 * printf/divrem.c: Likewise.
360 * printf/addmul_1.c: Likewise.
361 * printf/mul.c: Likewise.
362 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
363 to avoid evaluating argument multiple times.
364 (isxdigit): Redefine.
365 * strtod/strtoflt128.c: New file.
366 * strtod/strtod_l.c: New file.
367 * strtod/mpn2flt128.c: New file.
368 * strtod/grouping.h: New file.
369 * strtod/tens_in_limb.c: New file.
370 * gdtoa/arith.h: Removed.
371 * gdtoa/gd_qnan.h: Removed.
372 * gdtoa/gdtoa_fltrnds.h: Removed.
373 * gdtoa/gdtoa.h: Removed.
374 * gdtoa/gdtoaimp.h: Removed.
375 * gdtoa/gethex.c: Removed.
376 * gdtoa/gmisc.c: Removed.
377 * gdtoa/hd_init.c: Removed.
378 * gdtoa/hexnan.c: Removed.
379 * gdtoa/makefile: Removed.
380 * gdtoa/misc.c: Removed.
381 * gdtoa/README.gdtoa: Removed.
382 * gdtoa/smisc.c: Removed.
383 * gdtoa/strtodg.c: Removed.
384 * gdtoa/strtopQ.c: Removed.
385 * gdtoa/sum.c: Removed.
386 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
388 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
389 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
390 * config.h.in: Regenerated.
391 * configure: Regenerated.
392 * Makefile.in: Regenerated.
394 2011-02-16 Jakub Jelinek <jakub@redhat.com>
396 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
397 whether workarounds for printf hook handling should be added.
399 * configure.ac: Check for locale.h too.
400 (USE_LOCALE_SUPPORT): Remove check.
401 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
402 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
403 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
404 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
406 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
407 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
408 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
409 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
410 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
411 USE_I18N_NUMBER_H #ifdef.
412 * configure: Regenerated.
413 * config.h.in: Regenerated.
415 2011-02-14 Jakub Jelinek <jakub@redhat.com>
418 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
420 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
421 field instead of setting individual fields to 0. Don't set info.user
423 * configure: Regenerated.
425 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
426 * printf/printf_fp.c: Don't include <alloca.h>.
427 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
428 * configure: Regenerated.
431 * libquadmath.texi (quadmath_snprintf): Document.
432 (quadmath_flt128tostr): Remove.
433 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
434 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
435 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
436 * quadmath.h (quadmath_snprintf): New prototype.
437 (quadmath_flt128tostr): Remove.
438 * quadmath_weak.h (quadmath_snprintf): Add.
439 (quadmath_flt128tostr): Remove.
440 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
441 wctype.h, limits.h, ctype.h, printf.h, errno.h.
442 (AC_USE_SYSTEM_EXTENSIONS): Add.
443 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
444 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
445 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
446 quadmath_flt128tostr.
447 * printf/printf_fphex.c: New file.
448 * printf/_itowa.h: New file.
449 * printf/mul_n.c: New file.
450 * printf/quadmath-printf.h: New file.
451 * printf/submul_1.c: New file.
452 * printf/quadmath-printf.c: New file.
453 * printf/gmp-impl.h: New file.
454 * printf/lshift.c: New file.
455 * printf/fpioconst.h: New file.
456 * printf/add_n.c: New file.
457 * printf/cmp.c: New file.
458 * printf/sub_n.c: New file.
459 * printf/mul.c: New file.
460 * printf/divrem.c: New file.
461 * printf/addmul_1.c: New file.
462 * printf/printf_fp.c: New file.
463 * printf/_itoa.h: New file.
464 * printf/fpioconst.c: New file.
465 * printf/_i18n_number.h: New file.
466 * printf/flt1282mpn.c: New file.
467 * printf/rshift.c: New file.
468 * printf/mul_1.c: New file.
469 * quadmath_io.c: Removed.
470 * gdtoa/gdtoa.c: Removed.
471 * gdtoa/g__fmt.c: Removed.
472 * gdtoa/g_Qfmt.c: Removed.
473 * gdtoa/dmisc.c: Removed.
474 * gdtoa/ulp.c: Removed.
475 * config.h.in: Regenerated.
476 * configure: Regenerated.
477 * Makefile.in: Regenerated.
479 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
481 * Makefile.in: Regenerate.
482 * aclocal.m4: Likewise.
483 * configure: Likewise.
485 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
488 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
489 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
491 2011-01-17 Tobias Burnus <burnus@net-b.de>
494 * libquadmath.text: Document typedef and constants.
496 2011-01-17 Tobias Burnus <burnus@net-b.de>
499 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
500 bump copyright year and use /**/ instead of // comments.
502 * quadmath-weak.h: Ditto.
503 * quadmath_io.c: Ditto.
505 2011-01-16 Jakub Jelinek <jakub@redhat.com>
508 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
511 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
512 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
513 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
514 (strtoflt128, quadmath_flt128tostr): Add.
515 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
516 (strtoflt128): ... this. Return __float128, instead of writing
517 to memory pointed by last argument.
518 * quadmath.h: Use C style comments instead of C++ style.
519 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
520 (strtoflt128, quadmath_flt128tostr): Add prototypes.
521 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
522 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
524 * quadmath_io.c (quadmath_dtoaq): Rename to...
525 (quadmath_flt128tostr): ... this.
527 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
528 Use it for all prototypes.
531 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
532 const from prototype argument.
533 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
534 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
535 (__quadmath_extern_inline): Define.
536 (cimagq, conjq, crealq): New inlines.
537 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
538 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
539 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
540 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
541 * Makefile.in: Regenerated.
542 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
543 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
544 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
545 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
546 tests instead of __BIG_ENDIAN__.
547 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
548 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
550 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
551 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
552 * math/cprojq.c: New file.
553 * math/ilogbq.c: New file.
554 * math/fminq.c: New file.
555 * math/llrintq.c: New file.
556 * math/log2q.c: New file.
557 * math/lrintq.c: New file.
558 * math/crealq.c: New file.
559 * math/nearbyintq.c: New file.
560 * math/fmaxq.c: New file.
561 * math/conjq.c: New file.
562 * math/remquoq.c: New file.
563 * math/cimagq.c: New file.
564 * math/fdimq.c: New file.
566 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
569 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
571 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
572 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
573 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
575 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
576 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
577 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
579 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
580 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
582 * Makefile.in: Regenerated.
583 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
584 catanq, catanhq): Add.
585 * math/cacoshq.c: New file.
586 * math/cacosq.c: New file.
587 * math/catanq.c: New file.
588 * math/catanhq.c: New file.
589 * math/casinq.c: New file.
590 * math/casinhq.c: New file.
592 * math/hypotq.c (hypotq): Use Q suffix instead of L.
593 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
594 * math/cosq.c (cosq): Likewise.
597 * quadmath.map (QUADMATH_1.0): Add fmaq.
598 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
599 feupdateenv, fesetenv and fetestexcept.
600 * configure: Regenerated.
601 * config.h.in: Regenerated.
602 * quadmath.h (fmaq): New prototype.
603 * quadmath_weak.h (fmaq): Add.
604 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
605 * Makefile.in: Regenerated.
606 * quadmath-imp.h: Include config.h.
607 * math/expq.c: Include fenv.h.
608 (USE_FENV_H): Define if libm support for fe* is there.
609 (expq): Add fesetround etc. support if USE_FENV_H is defined.
610 * math/fmaq.c: New file.
611 * libquadmath.texi (fmaq): Add.
613 2011-01-14 Tobias Burnus <burnus@net-b.de>
616 * configure.ac: Use ACX_BUGURL.
617 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
618 * Makefile.am: Create libquadmath-vers.texi.
619 * configure.in: Regenerate.
620 * Makefile.in: Regenerate.
622 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
625 * Makefile.am (libquadmath.info): Unconditionally override
626 target, not only if BUILD_LIBQUADMATH.
627 * Makefile.in: Regenerate.
628 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
629 avoid warning from automake.
631 2010-12-19 Tobias Burnus <burnus@net-b.de>
634 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
635 * configure: Regenerate
637 2010-12-13 Tobias Burnus <burnus@net-b.de>
640 * gdtoa/gdtoaimp.h: Mangle internal functions by
641 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
642 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
643 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
644 if NO_STRING_H is set.
645 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
646 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
647 __quadmath prefix to internal functions.
648 * math/cosq.c (cosq): Ditto.
649 * math/sinq.c (cosq): Ditto.
650 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
651 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
652 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
653 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
655 2010-12-08 Tobias Burnus <burnus@net-b.de>
658 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
659 * gdtoa/gdtoaimp.h: Don't declare strtod.
661 2010-12-08 Tobias Burnus <burnus@net-b.de>
664 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
665 AC_TRY_LINK and cache libquad_have_float128.
666 * configure: Regenerate.
668 2010-12-08 Tobias Burnus <burnus@net-b.de>
671 * configure.ac: Add texinfo checks.
672 * Makefile.am: Handle .texi documentation.
673 * libquadmath.texi: New.
674 * configure: Regenerated.
675 * Makefile.in: Regenerated.
677 2010-12-06 Tobias Burnus <burnus@net-b.de>
680 * quadmath-imp.h: Add LGPL header.
681 * quadmath.h: Add LGPL header.
682 * quadmath_io.c: Add LGPL header.
683 * quadmath_weak.h: Add LGPL header.
685 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
689 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
690 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
691 * aclocal.m4: Regenerate.
692 * configure: Regenerate.
693 * Makefile.in: Regenerate.
695 2010-11-30 Tobias Burnus <burnus@net-b.de>
698 * Makefile.am: Install include files in
699 target/version specific directory.
700 * Makefile.in: Regenerate.
702 2010-11-30 Tobias Burnus <burnus@net-b.de>
704 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
705 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
706 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
708 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
710 * configure: Regenerated.
711 * Makefile.in: Regenerated.
712 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
713 (target_alias): Use AC_SUBST for it.
714 (GCC_NO_EXECUTABLES): Call it.
715 (AC_PROG_CC): Improve multilib handling.
716 Check that gcc is used for compilation.
717 Use pattern from libssp for symbol versioning checking.
718 * Makefile.am (LTLDFLAGS): Removed.
719 (libquadmath_la_LDFLAGS): Add -no-undefined.
720 (libquadmath_la_LINK): Commented out.
721 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
722 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
723 (MAKEOVERRIDES): New.
724 * aclocal.m4: Regenerated.
726 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
728 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
729 (libquadmath_la_LDFLAGS): ... here.
730 (quadmath.map-sun): Tabify.
732 * Makefile.in: Regenerate.
734 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
735 Tobias Burnus <burnus@net-b.de>
738 Initial implementation and checkin.