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