1 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
3 * configure: Regenerate.
5 2011-11-07 Kai Tietz <ktietz@redhat.com>
8 * quadmath-imp.h (ieee854_float128): Adjust
9 for ms-bitfield layout.
11 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13 * printf/gmp-impl.h: Adapt path to longlong.h.
15 2011-09-21 Joseph Myers <joseph@codesourcery.com>
17 * Makefile.am (FLAGS_TO_PASS): Define.
18 * Makefile.in: Regenerate.
20 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
23 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25 2011-04-03 Tobias Burnus <burnus@net-b.de>
28 * libquadmath.texi (strtoflt128): Fix typo.
29 (quadmath_snprintf): Move note up, make @item.
31 2011-03-25 Jakub Jelinek <jakub@redhat.com>
33 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
36 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
39 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
40 * configure: Regenerate.
42 2011-02-28 Jakub Jelinek <jakub@redhat.com>
44 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
45 that for size > 0 str is always zero terminated.
47 2011-02-20 Jakub Jelinek <jakub@redhat.com>
50 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
52 2011-02-17 Jakub Jelinek <jakub@redhat.com>
54 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
55 FLT128_MAX_10_EXP): Document.
56 (strtoflt128): Remove obsolete comment.
57 * configure.ac (HAVE_STRTOULL): New check.
58 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
60 * printf/mul_n.c: Include <config.h>.
61 * printf/add_n.c: Likewise.
62 * printf/cmp.c: Likewise.
63 * printf/fpioconst.c: Likewise.
64 * printf/mul_1.c: Likewise.
65 * printf/rshift.c: Likewise.
66 * printf/lshift.c: Likewise.
67 * printf/submul_1.c: Likewise.
68 * printf/sub_n.c: Likewise.
69 * printf/divrem.c: Likewise.
70 * printf/addmul_1.c: Likewise.
71 * printf/mul.c: Likewise.
72 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
73 to avoid evaluating argument multiple times.
75 * strtod/strtoflt128.c: New file.
76 * strtod/strtod_l.c: New file.
77 * strtod/mpn2flt128.c: New file.
78 * strtod/grouping.h: New file.
79 * strtod/tens_in_limb.c: New file.
80 * gdtoa/arith.h: Removed.
81 * gdtoa/gd_qnan.h: Removed.
82 * gdtoa/gdtoa_fltrnds.h: Removed.
83 * gdtoa/gdtoa.h: Removed.
84 * gdtoa/gdtoaimp.h: Removed.
85 * gdtoa/gethex.c: Removed.
86 * gdtoa/gmisc.c: Removed.
87 * gdtoa/hd_init.c: Removed.
88 * gdtoa/hexnan.c: Removed.
89 * gdtoa/makefile: Removed.
90 * gdtoa/misc.c: Removed.
91 * gdtoa/README.gdtoa: Removed.
92 * gdtoa/smisc.c: Removed.
93 * gdtoa/strtodg.c: Removed.
94 * gdtoa/strtopQ.c: Removed.
95 * gdtoa/sum.c: Removed.
96 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
98 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
99 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
100 * config.h.in: Regenerated.
101 * configure: Regenerated.
102 * Makefile.in: Regenerated.
104 2011-02-16 Jakub Jelinek <jakub@redhat.com>
106 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
107 whether workarounds for printf hook handling should be added.
109 * configure.ac: Check for locale.h too.
110 (USE_LOCALE_SUPPORT): Remove check.
111 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
112 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
113 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
114 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
116 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
117 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
118 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
119 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
120 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
121 USE_I18N_NUMBER_H #ifdef.
122 * configure: Regenerated.
123 * config.h.in: Regenerated.
125 2011-02-14 Jakub Jelinek <jakub@redhat.com>
128 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
130 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
131 field instead of setting individual fields to 0. Don't set info.user
133 * configure: Regenerated.
135 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
136 * printf/printf_fp.c: Don't include <alloca.h>.
137 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
138 * configure: Regenerated.
141 * libquadmath.texi (quadmath_snprintf): Document.
142 (quadmath_flt128tostr): Remove.
143 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
144 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
145 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
146 * quadmath.h (quadmath_snprintf): New prototype.
147 (quadmath_flt128tostr): Remove.
148 * quadmath_weak.h (quadmath_snprintf): Add.
149 (quadmath_flt128tostr): Remove.
150 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
151 wctype.h, limits.h, ctype.h, printf.h, errno.h.
152 (AC_USE_SYSTEM_EXTENSIONS): Add.
153 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
154 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
155 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
156 quadmath_flt128tostr.
157 * printf/printf_fphex.c: New file.
158 * printf/_itowa.h: New file.
159 * printf/mul_n.c: New file.
160 * printf/quadmath-printf.h: New file.
161 * printf/submul_1.c: New file.
162 * printf/quadmath-printf.c: New file.
163 * printf/gmp-impl.h: New file.
164 * printf/lshift.c: New file.
165 * printf/fpioconst.h: New file.
166 * printf/add_n.c: New file.
167 * printf/cmp.c: New file.
168 * printf/sub_n.c: New file.
169 * printf/mul.c: New file.
170 * printf/divrem.c: New file.
171 * printf/addmul_1.c: New file.
172 * printf/printf_fp.c: New file.
173 * printf/_itoa.h: New file.
174 * printf/fpioconst.c: New file.
175 * printf/_i18n_number.h: New file.
176 * printf/flt1282mpn.c: New file.
177 * printf/rshift.c: New file.
178 * printf/mul_1.c: New file.
179 * quadmath_io.c: Removed.
180 * gdtoa/gdtoa.c: Removed.
181 * gdtoa/g__fmt.c: Removed.
182 * gdtoa/g_Qfmt.c: Removed.
183 * gdtoa/dmisc.c: Removed.
184 * gdtoa/ulp.c: Removed.
185 * config.h.in: Regenerated.
186 * configure: Regenerated.
187 * Makefile.in: Regenerated.
189 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
191 * Makefile.in: Regenerate.
192 * aclocal.m4: Likewise.
193 * configure: Likewise.
195 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
198 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
199 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
201 2011-01-17 Tobias Burnus <burnus@net-b.de>
204 * libquadmath.text: Document typedef and constants.
206 2011-01-17 Tobias Burnus <burnus@net-b.de>
209 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
210 bump copyright year and use /**/ instead of // comments.
212 * quadmath-weak.h: Ditto.
213 * quadmath_io.c: Ditto.
215 2011-01-16 Jakub Jelinek <jakub@redhat.com>
218 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
221 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
222 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
223 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
224 (strtoflt128, quadmath_flt128tostr): Add.
225 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
226 (strtoflt128): ... this. Return __float128, instead of writing
227 to memory pointed by last argument.
228 * quadmath.h: Use C style comments instead of C++ style.
229 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
230 (strtoflt128, quadmath_flt128tostr): Add prototypes.
231 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
232 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
234 * quadmath_io.c (quadmath_dtoaq): Rename to...
235 (quadmath_flt128tostr): ... this.
237 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
238 Use it for all prototypes.
241 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
242 const from prototype argument.
243 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
244 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
245 (__quadmath_extern_inline): Define.
246 (cimagq, conjq, crealq): New inlines.
247 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
248 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
249 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
250 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
251 * Makefile.in: Regenerated.
252 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
253 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
254 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
255 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
256 tests instead of __BIG_ENDIAN__.
257 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
258 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
260 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
261 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
262 * math/cprojq.c: New file.
263 * math/ilogbq.c: New file.
264 * math/fminq.c: New file.
265 * math/llrintq.c: New file.
266 * math/log2q.c: New file.
267 * math/lrintq.c: New file.
268 * math/crealq.c: New file.
269 * math/nearbyintq.c: New file.
270 * math/fmaxq.c: New file.
271 * math/conjq.c: New file.
272 * math/remquoq.c: New file.
273 * math/cimagq.c: New file.
274 * math/fdimq.c: New file.
276 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
279 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
281 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
282 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
283 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
285 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
286 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
287 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
289 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
290 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
292 * Makefile.in: Regenerated.
293 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
294 catanq, catanhq): Add.
295 * math/cacoshq.c: New file.
296 * math/cacosq.c: New file.
297 * math/catanq.c: New file.
298 * math/catanhq.c: New file.
299 * math/casinq.c: New file.
300 * math/casinhq.c: New file.
302 * math/hypotq.c (hypotq): Use Q suffix instead of L.
303 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
304 * math/cosq.c (cosq): Likewise.
307 * quadmath.map (QUADMATH_1.0): Add fmaq.
308 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
309 feupdateenv, fesetenv and fetestexcept.
310 * configure: Regenerated.
311 * config.h.in: Regenerated.
312 * quadmath.h (fmaq): New prototype.
313 * quadmath_weak.h (fmaq): Add.
314 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
315 * Makefile.in: Regenerated.
316 * quadmath-imp.h: Include config.h.
317 * math/expq.c: Include fenv.h.
318 (USE_FENV_H): Define if libm support for fe* is there.
319 (expq): Add fesetround etc. support if USE_FENV_H is defined.
320 * math/fmaq.c: New file.
321 * libquadmath.texi (fmaq): Add.
323 2011-01-14 Tobias Burnus <burnus@net-b.de>
326 * configure.ac: Use ACX_BUGURL.
327 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
328 * Makefile.am: Create libquadmath-vers.texi.
329 * configure.in: Regenerate.
330 * Makefile.in: Regenerate.
332 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
335 * Makefile.am (libquadmath.info): Unconditionally override
336 target, not only if BUILD_LIBQUADMATH.
337 * Makefile.in: Regenerate.
338 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
339 avoid warning from automake.
341 2010-12-19 Tobias Burnus <burnus@net-b.de>
344 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
345 * configure: Regenerate
347 2010-12-13 Tobias Burnus <burnus@net-b.de>
350 * gdtoa/gdtoaimp.h: Mangle internal functions by
351 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
352 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
353 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
354 if NO_STRING_H is set.
355 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
356 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
357 __quadmath prefix to internal functions.
358 * math/cosq.c (cosq): Ditto.
359 * math/sinq.c (cosq): Ditto.
360 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
361 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
362 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
363 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
365 2010-12-08 Tobias Burnus <burnus@net-b.de>
368 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
369 * gdtoa/gdtoaimp.h: Don't declare strtod.
371 2010-12-08 Tobias Burnus <burnus@net-b.de>
374 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
375 AC_TRY_LINK and cache libquad_have_float128.
376 * configure: Regenerate.
378 2010-12-08 Tobias Burnus <burnus@net-b.de>
381 * configure.ac: Add texinfo checks.
382 * Makefile.am: Handle .texi documentation.
383 * libquadmath.texi: New.
384 * configure: Regenerated.
385 * Makefile.in: Regenerated.
387 2010-12-06 Tobias Burnus <burnus@net-b.de>
390 * quadmath-imp.h: Add LGPL header.
391 * quadmath.h: Add LGPL header.
392 * quadmath_io.c: Add LGPL header.
393 * quadmath_weak.h: Add LGPL header.
395 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
399 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
400 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
401 * aclocal.m4: Regenerate.
402 * configure: Regenerate.
403 * Makefile.in: Regenerate.
405 2010-11-30 Tobias Burnus <burnus@net-b.de>
408 * Makefile.am: Install include files in
409 target/version specific directory.
410 * Makefile.in: Regenerate.
412 2010-11-30 Tobias Burnus <burnus@net-b.de>
414 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
415 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
416 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
418 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
420 * configure: Regenerated.
421 * Makefile.in: Regenerated.
422 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
423 (target_alias): Use AC_SUBST for it.
424 (GCC_NO_EXECUTABLES): Call it.
425 (AC_PROG_CC): Improve multilib handling.
426 Check that gcc is used for compilation.
427 Use pattern from libssp for symbol versioning checking.
428 * Makefile.am (LTLDFLAGS): Removed.
429 (libquadmath_la_LDFLAGS): Add -no-undefined.
430 (libquadmath_la_LINK): Commented out.
431 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
432 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
433 (MAKEOVERRIDES): New.
434 * aclocal.m4: Regenerated.
436 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
438 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
439 (libquadmath_la_LDFLAGS): ... here.
440 (quadmath.map-sun): Tabify.
442 * Makefile.in: Regenerate.
444 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
445 Tobias Burnus <burnus@net-b.de>
448 Initial implementation and checkin.