1 2011-02-14 Jakub Jelinek <jakub@redhat.com>
4 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
6 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
7 field instead of setting individual fields to 0. Don't set info.user
9 * configure: Regenerated.
11 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
12 * printf/printf_fp.c: Don't include <alloca.h>.
13 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
14 * configure: Regenerated.
17 * libquadmath.texi (quadmath_snprintf): Document.
18 (quadmath_flt128tostr): Remove.
19 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
20 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
21 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
22 * quadmath.h (quadmath_snprintf): New prototype.
23 (quadmath_flt128tostr): Remove.
24 * quadmath_weak.h (quadmath_snprintf): Add.
25 (quadmath_flt128tostr): Remove.
26 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
27 wctype.h, limits.h, ctype.h, printf.h, errno.h.
28 (AC_USE_SYSTEM_EXTENSIONS): Add.
29 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
30 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
31 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
33 * printf/printf_fphex.c: New file.
34 * printf/_itowa.h: New file.
35 * printf/mul_n.c: New file.
36 * printf/quadmath-printf.h: New file.
37 * printf/submul_1.c: New file.
38 * printf/quadmath-printf.c: New file.
39 * printf/gmp-impl.h: New file.
40 * printf/lshift.c: New file.
41 * printf/fpioconst.h: New file.
42 * printf/add_n.c: New file.
43 * printf/cmp.c: New file.
44 * printf/sub_n.c: New file.
45 * printf/mul.c: New file.
46 * printf/divrem.c: New file.
47 * printf/addmul_1.c: New file.
48 * printf/printf_fp.c: New file.
49 * printf/_itoa.h: New file.
50 * printf/fpioconst.c: New file.
51 * printf/_i18n_number.h: New file.
52 * printf/flt1282mpn.c: New file.
53 * printf/rshift.c: New file.
54 * printf/mul_1.c: New file.
55 * quadmath_io.c: Removed.
56 * gdtoa/gdtoa.c: Removed.
57 * gdtoa/g__fmt.c: Removed.
58 * gdtoa/g_Qfmt.c: Removed.
59 * gdtoa/dmisc.c: Removed.
60 * gdtoa/ulp.c: Removed.
61 * config.h.in: Regenerated.
62 * configure: Regenerated.
63 * Makefile.in: Regenerated.
65 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
67 * Makefile.in: Regenerate.
68 * aclocal.m4: Likewise.
69 * configure: Likewise.
71 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
74 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
75 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
77 2011-01-17 Tobias Burnus <burnus@net-b.de>
80 * libquadmath.text: Document typedef and constants.
82 2011-01-17 Tobias Burnus <burnus@net-b.de>
85 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
86 bump copyright year and use /**/ instead of // comments.
88 * quadmath-weak.h: Ditto.
89 * quadmath_io.c: Ditto.
91 2011-01-16 Jakub Jelinek <jakub@redhat.com>
94 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
97 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
98 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
99 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
100 (strtoflt128, quadmath_flt128tostr): Add.
101 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
102 (strtoflt128): ... this. Return __float128, instead of writing
103 to memory pointed by last argument.
104 * quadmath.h: Use C style comments instead of C++ style.
105 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
106 (strtoflt128, quadmath_flt128tostr): Add prototypes.
107 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
108 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
110 * quadmath_io.c (quadmath_dtoaq): Rename to...
111 (quadmath_flt128tostr): ... this.
113 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
114 Use it for all prototypes.
117 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
118 const from prototype argument.
119 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
120 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
121 (__quadmath_extern_inline): Define.
122 (cimagq, conjq, crealq): New inlines.
123 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
124 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
125 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
126 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
127 * Makefile.in: Regenerated.
128 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
129 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
130 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
131 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
132 tests instead of __BIG_ENDIAN__.
133 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
134 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
136 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
137 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
138 * math/cprojq.c: New file.
139 * math/ilogbq.c: New file.
140 * math/fminq.c: New file.
141 * math/llrintq.c: New file.
142 * math/log2q.c: New file.
143 * math/lrintq.c: New file.
144 * math/crealq.c: New file.
145 * math/nearbyintq.c: New file.
146 * math/fmaxq.c: New file.
147 * math/conjq.c: New file.
148 * math/remquoq.c: New file.
149 * math/cimagq.c: New file.
150 * math/fdimq.c: New file.
152 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
155 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
157 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
158 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
159 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
161 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
162 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
163 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
165 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
166 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
168 * Makefile.in: Regenerated.
169 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
170 catanq, catanhq): Add.
171 * math/cacoshq.c: New file.
172 * math/cacosq.c: New file.
173 * math/catanq.c: New file.
174 * math/catanhq.c: New file.
175 * math/casinq.c: New file.
176 * math/casinhq.c: New file.
178 * math/hypotq.c (hypotq): Use Q suffix instead of L.
179 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
180 * math/cosq.c (cosq): Likewise.
183 * quadmath.map (QUADMATH_1.0): Add fmaq.
184 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
185 feupdateenv, fesetenv and fetestexcept.
186 * configure: Regenerated.
187 * config.h.in: Regenerated.
188 * quadmath.h (fmaq): New prototype.
189 * quadmath_weak.h (fmaq): Add.
190 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
191 * Makefile.in: Regenerated.
192 * quadmath-imp.h: Include config.h.
193 * math/expq.c: Include fenv.h.
194 (USE_FENV_H): Define if libm support for fe* is there.
195 (expq): Add fesetround etc. support if USE_FENV_H is defined.
196 * math/fmaq.c: New file.
197 * libquadmath.texi (fmaq): Add.
199 2011-01-14 Tobias Burnus <burnus@net-b.de>
202 * configure.ac: Use ACX_BUGURL.
203 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
204 * Makefile.am: Create libquadmath-vers.texi.
205 * configure.in: Regenerate.
206 * Makefile.in: Regenerate.
208 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
211 * Makefile.am (libquadmath.info): Unconditionally override
212 target, not only if BUILD_LIBQUADMATH.
213 * Makefile.in: Regenerate.
214 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
215 avoid warning from automake.
217 2010-12-19 Tobias Burnus <burnus@net-b.de>
220 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
221 * configure: Regenerate
223 2010-12-13 Tobias Burnus <burnus@net-b.de>
226 * gdtoa/gdtoaimp.h: Mangle internal functions by
227 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
228 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
229 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
230 if NO_STRING_H is set.
231 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
232 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
233 __quadmath prefix to internal functions.
234 * math/cosq.c (cosq): Ditto.
235 * math/sinq.c (cosq): Ditto.
236 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
237 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
238 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
239 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
241 2010-12-08 Tobias Burnus <burnus@net-b.de>
244 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
245 * gdtoa/gdtoaimp.h: Don't declare strtod.
247 2010-12-08 Tobias Burnus <burnus@net-b.de>
250 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
251 AC_TRY_LINK and cache libquad_have_float128.
252 * configure: Regenerate.
254 2010-12-08 Tobias Burnus <burnus@net-b.de>
257 * configure.ac: Add texinfo checks.
258 * Makefile.am: Handle .texi documentation.
259 * libquadmath.texi: New.
260 * configure: Regenerated.
261 * Makefile.in: Regenerated.
263 2010-12-06 Tobias Burnus <burnus@net-b.de>
266 * quadmath-imp.h: Add LGPL header.
267 * quadmath.h: Add LGPL header.
268 * quadmath_io.c: Add LGPL header.
269 * quadmath_weak.h: Add LGPL header.
271 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
275 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
276 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
277 * aclocal.m4: Regenerate.
278 * configure: Regenerate.
279 * Makefile.in: Regenerate.
281 2010-11-30 Tobias Burnus <burnus@net-b.de>
284 * Makefile.am: Install include files in
285 target/version specific directory.
286 * Makefile.in: Regenerate.
288 2010-11-30 Tobias Burnus <burnus@net-b.de>
290 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
291 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
292 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
294 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
296 * configure: Regenerated.
297 * Makefile.in: Regenerated.
298 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
299 (target_alias): Use AC_SUBST for it.
300 (GCC_NO_EXECUTABLES): Call it.
301 (AC_PROG_CC): Improve multilib handling.
302 Check that gcc is used for compilation.
303 Use pattern from libssp for symbol versioning checking.
304 * Makefile.am (LTLDFLAGS): Removed.
305 (libquadmath_la_LDFLAGS): Add -no-undefined.
306 (libquadmath_la_LINK): Commented out.
307 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
308 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
309 (MAKEOVERRIDES): New.
310 * aclocal.m4: Regenerated.
312 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
314 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
315 (libquadmath_la_LDFLAGS): ... here.
316 (quadmath.map-sun): Tabify.
318 * Makefile.in: Regenerate.
320 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
321 Tobias Burnus <burnus@net-b.de>
324 Initial implementation and checkin.