]> git.ipfire.org Git - thirdparty/gcc.git/blame - libquadmath/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libquadmath / ChangeLog
CommitLineData
d6988187
JJ
12013-02-19 Jakub Jelinek <jakub@redhat.com>
2
3 PR libquadmath/56379
4 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
5 macro.
6
162ceab4
TB
72013-02-17 Tobias Burnus <burnus@net-b.de>
8
9 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
10
1b78544f
RS
112013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
12
13 Revert previous patch.
14
1a41c323
RS
152013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
16
17 Update copyright years.
18
7ab53cfd
JJ
192013-01-22 Jakub Jelinek <jakub@redhat.com>
20
21 PR libquadmath/56072
22 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
23
de137957
JJ
242012-12-13 Jakub Jelinek <jakub@redhat.com>
25
26 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
27 instead of L suffixed ones.
28 * math/fmaq.c (fmaq): Likewise.
29 * math/rintq.c (TWO112): Likewise.
30
36402bb1
TB
312012-12-03 Tobias Burnus <burnus@net-b.de>
32
33 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
34 reading.
35
24a9cea6
TB
362012-11-25 Tobias Burnus <burnus@net-b.de>
37
38 PR libquadmath/55462
39 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
40 instead of nonexisting HAVE_GET_ROUNDING_MODE.
41
1773438a
L
422012-11-23 H.J. Lu <hongjiu.lu@intel.com>
43
44 PR bootstrap/55455
45 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
46 void to fegetround.
47
05abb346
TB
482012-11-23 Tobias Burnus <burnus@net-b.de>
49 Joseph Myers <joseph@codesourcery.com>
50
51 * quadmath-rounding-mode.h: New.
52 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
53 * printf/fpioconst.h: Ditto.
54 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
55 Make printf respect the rounding mode for decimal output.
56 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
57 GLIBC. Make printf respect the rounding mode for hex output.
58 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
59 rounding mode. Fix strtod handling of underflow.
60
7cf8c994
DM
612012-11-22 David S. Miller <davem@davemloft.net>
62 Tobias Burnus <burnus@net-b.de>
63 Joseph Myers <joseph@codesourcery.com>
64
65 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
66 very large arguments properly.
67 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
68 underflow when 'x' is very small.
69 * math/j1q.c (y1q): Ditto.
70 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
71 nonzero exponents with absolute value below 0x1p-128 to
72 +/- 0x1p-128.
73 * math/powq.c (powq): Update from GLIBC. If xm1 is
74 smaller than LDBL_EPSILON/2.0L, just return xm1.
75
5a09d908
TB
762012-11-21 Tobias Burnus <burnus@net-b.de>
77
78 PR libquadmath/55225
79 * math/lgammaq.c (lgammaq): Use local variable if
80 math.h does not provide signgam.
81 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
82 * configure.ac: Use it.
83 * configure: Regenerate.
84 * config.h.in: Regenerate.
85
7ee2eb82
TB
862012-11-15 Tobias Burnus <burnus@net-b.de>
87 Joseph Myers <joseph@codesourcery.com>
88
89 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
90 underflows with small x * y; Fix overflow results
91 outside round-to-nearest mode; make use of Dekker
92 and Knuth algorithms use round-to-nearest.
93
2749bf29
TB
942012-11-01 Tobias Burnus <burnus@net-b.de>
95
96 * math/fmaq.c (fmaq): Fix build.
97
e4320d7d
TB
982012-11-01 Tobias Burnus <burnus@net-b.de>
99 Joseph Myers <joseph@codesourcery.com>
100
101 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
102 with small x * y using scaling, not as x * y + z.
103 * math/lgammaq.c (lgammaq): Fix signgam handling.
104
f029f4be
TB
1052012-11-01 Tobias Burnus <burnus@net-b.de>
106
107 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
108 * Makefile.in: Regenerated.
109 * math/acoshq.c: Update comment.
110 * math/acosq.c: Ditto.
111 * math/asinhq.c: Ditto.
112 * math/asinq.c: Ditto.
113 * math/atan2q.c: Ditto.
114 * math/atanhq.c: Ditto.
115 * math/ceilq.c: Ditto.
116 * math/copysignq.c: Ditto.
117 * math/cosq.c: Ditto.
118 * math/coshq.c: Ditto.
119 * math/erfq.c: Ditto.
120 * math/fabsq.c: Ditto.
121 * math/finiteq.c: Ditto.
122 * math/floorq.c: Ditto.
123 * math/fmodq.c: Ditto.
124 * math/frexpq.c: Ditto.
125 * math/isnanq.c: Ditto.
126 * math/j0q.c: Ditto.
127 * math/j1q.c: Ditto.
128 * math/ldexpq.c: Ditto.
129 * math/llroundq.c: Ditto.
130 * math/log10q.c: Ditto.
131 * math/log1pq.c: Ditto.
132 * math/log2q.c: Ditto.
133 * math/logq.c: Ditto.
134 * math/lroundq.c: Ditto.
135 * math/modfq.c: Ditto.
136 * math/nextafterq.c: Ditto.
137 * math/powq.c: Ditto.
138 * math/rem_pio2q.c: Ditto.
139 * math/remainderq.c: Ditto.
140 * math/rintq.c: Ditto.
141 * math/roundq.c: Ditto.
142 * math/scalblnq.c: Ditto.
143 * math/scalbnq.c: Ditto.
144 * math/sincosq_kernel.c: Ditto.
145 * math/sinq.c: Ditto.
146 * math/tanq.c: Ditto.
147 * math/expq.c: Ditto.
148 (__expq_table, expq): Renamed local array from __expl_table.
149 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
150 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
151 * math/casinhq.c: Changes from GLIBC to fix special-case.
152 * math/cbrtq.c: Use modified GLIBC version.
153 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
154 ctanhq, ctanq): Moved to separates files.
155 (mult_c128, div_c128): Removed no longer needed functions.
156 (cexpiq): Call sincosq instead of sinq and cosq.
157 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
158 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
159 modified based on GLIBC.
160 * math/cexpq.c (cexp): Ditto.
161 * math/clog10q.c (clog10q): Ditto.
162 * math/clogq.c (clogq): Ditto.
163 * math/csinhq.c: Ditto.
164 * math/csinq.c: Ditto.
165 * math/csqrtq.c: Ditto.
166 * math/ctanhq.c: Ditto.
167 * math/ctanq.c: Ditto.
168 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
169 from GLIBC.
170 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
171 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
172 from GLIBC.
173 * math/lgammaq.c (lgammaq): Add signgam handling.
174 * math/sinhq.c (sinhq): Fix sign handling.
175 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
176 * math/tgammaq.c (tgammaq): Ditto.
177 * math/x2y2m1q.c: New file.
178 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
179 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
180
737df6e6
TB
1812012-10-31 Tobias Burnus <burnus@net-b.de>
182 Joseph Myers <joseph@codesourcery.com>
183 David S. Miller <davem@davemloft.net>
184 Ulrich Drepper <drepper@redhat.com>
185 Marek Polacek <polacek@redhat.com>:
186 Petr Baudis <pasky@suse.cz>
187
188 * math/complex.c (csqrtq): NaN and INF fixes.
189 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
190 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
191 large parameters. Fix errno for boundary conditions.
192 * math/finiteq.c (finiteq): Add comment.
193 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
194 and bad results for some subnormal results. Fix sign of inexact
195 zero return. Fix sign of exact zero return.
196 Ensure additions are not scheduled after fetestexcept.
197 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
198 for ynq. Fix jnq precision.
199 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
200 manipulate bits before adding and subtracting TWO112[sx].
201 * math/rintq.c (rintq): Ditto.
202 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
203 overflow.
204
249b09fa
DE
2052012-09-14 David Edelsohn <dje.gcc@gmail.com>
206
207 * configure: Regenerated.
208
19af62db
BK
2092012-05-29 Benjamin Kosnik <bkoz@redhat.com>
210
211 PR libstdc++/51007
212 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
213 * configure: Regenerated.
249b09fa 214
e6d5f8c9
L
2152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
216
217 * configure: Regenerated.
218
c6084f68
AT
2192011-11-21 Andreas Tobler <andreast@fgznet.ch>
220
221 * configure: Regenerate.
222
744bbef1
KT
2232011-11-07 Kai Tietz <ktietz@redhat.com>
224
225 PR target/51007
226 * quadmath-imp.h (ieee854_float128): Adjust
227 for ms-bitfield layout.
228
f9989b51
RO
2292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
230
231 * printf/gmp-impl.h: Adapt path to longlong.h.
232
88cc02ff
JM
2332011-09-21 Joseph Myers <joseph@codesourcery.com>
234
235 * Makefile.am (FLAGS_TO_PASS): Define.
236 * Makefile.in: Regenerate.
237
57044b5a
JJ
2382011-08-01 Jakub Jelinek <jakub@redhat.com>
239
240 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
241 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
242
1e4eb7bb
TB
2432011-04-03 Tobias Burnus <burnus@net-b.de>
244
245 PR fortran/48311
246 * libquadmath.texi (strtoflt128): Fix typo.
247 (quadmath_snprintf): Move note up, make @item.
248
cf3b3080
JJ
2492011-03-25 Jakub Jelinek <jakub@redhat.com>
250
251 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
252 mempcpy.
253
bf382f5f
RO
2542011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
255
256 PR bootstrap/48135
257 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
258 * configure: Regenerate.
259
9926de2c
JJ
2602011-02-28 Jakub Jelinek <jakub@redhat.com>
261
262 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
263 that for size > 0 str is always zero terminated.
264
a3a33a7b
JJ
2652011-02-20 Jakub Jelinek <jakub@redhat.com>
266
267 PR bootstrap/47827
268 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
269
a855debf
JJ
2702011-02-17 Jakub Jelinek <jakub@redhat.com>
271
272 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
273 FLT128_MAX_10_EXP): Document.
274 (strtoflt128): Remove obsolete comment.
275 * configure.ac (HAVE_STRTOULL): New check.
276 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
277 define.
278 * printf/mul_n.c: Include <config.h>.
279 * printf/add_n.c: Likewise.
280 * printf/cmp.c: Likewise.
281 * printf/fpioconst.c: Likewise.
282 * printf/mul_1.c: Likewise.
283 * printf/rshift.c: Likewise.
284 * printf/lshift.c: Likewise.
285 * printf/submul_1.c: Likewise.
286 * printf/sub_n.c: Likewise.
287 * printf/divrem.c: Likewise.
288 * printf/addmul_1.c: Likewise.
289 * printf/mul.c: Likewise.
290 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
291 to avoid evaluating argument multiple times.
292 (isxdigit): Redefine.
293 * strtod/strtoflt128.c: New file.
294 * strtod/strtod_l.c: New file.
295 * strtod/mpn2flt128.c: New file.
296 * strtod/grouping.h: New file.
297 * strtod/tens_in_limb.c: New file.
298 * gdtoa/arith.h: Removed.
299 * gdtoa/gd_qnan.h: Removed.
300 * gdtoa/gdtoa_fltrnds.h: Removed.
301 * gdtoa/gdtoa.h: Removed.
302 * gdtoa/gdtoaimp.h: Removed.
303 * gdtoa/gethex.c: Removed.
304 * gdtoa/gmisc.c: Removed.
305 * gdtoa/hd_init.c: Removed.
306 * gdtoa/hexnan.c: Removed.
307 * gdtoa/makefile: Removed.
308 * gdtoa/misc.c: Removed.
309 * gdtoa/README.gdtoa: Removed.
310 * gdtoa/smisc.c: Removed.
311 * gdtoa/strtodg.c: Removed.
312 * gdtoa/strtopQ.c: Removed.
313 * gdtoa/sum.c: Removed.
314 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
315 Define.
316 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
317 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
318 * config.h.in: Regenerated.
319 * configure: Regenerated.
320 * Makefile.in: Regenerated.
321
d2995f21
JJ
3222011-02-16 Jakub Jelinek <jakub@redhat.com>
323
324 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
325 whether workarounds for printf hook handling should be added.
326
327 * configure.ac: Check for locale.h too.
328 (USE_LOCALE_SUPPORT): Remove check.
329 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
330 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
331 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
332 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
333 for wide version.
334 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
335 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
336 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
337 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
338 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
339 USE_I18N_NUMBER_H #ifdef.
340 * configure: Regenerated.
341 * config.h.in: Regenerated.
342
1d92226b
JJ
3432011-02-14 Jakub Jelinek <jakub@redhat.com>
344
12967872
JJ
345 PR bootstrap/47736
346 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
347 user field.
348 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
349 field instead of setting individual fields to 0. Don't set info.user
350 to -1.
351 * configure: Regenerated.
352
49f0e1ba
JJ
353 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
354 * printf/printf_fp.c: Don't include <alloca.h>.
355 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
356 * configure: Regenerated.
357
1d92226b
JJ
358 PR fortran/47642
359 * libquadmath.texi (quadmath_snprintf): Document.
360 (quadmath_flt128tostr): Remove.
361 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
362 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
363 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
364 * quadmath.h (quadmath_snprintf): New prototype.
365 (quadmath_flt128tostr): Remove.
366 * quadmath_weak.h (quadmath_snprintf): Add.
367 (quadmath_flt128tostr): Remove.
368 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
369 wctype.h, limits.h, ctype.h, printf.h, errno.h.
370 (AC_USE_SYSTEM_EXTENSIONS): Add.
371 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
372 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
373 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
374 quadmath_flt128tostr.
375 * printf/printf_fphex.c: New file.
376 * printf/_itowa.h: New file.
377 * printf/mul_n.c: New file.
378 * printf/quadmath-printf.h: New file.
379 * printf/submul_1.c: New file.
380 * printf/quadmath-printf.c: New file.
381 * printf/gmp-impl.h: New file.
382 * printf/lshift.c: New file.
383 * printf/fpioconst.h: New file.
384 * printf/add_n.c: New file.
385 * printf/cmp.c: New file.
386 * printf/sub_n.c: New file.
387 * printf/mul.c: New file.
388 * printf/divrem.c: New file.
389 * printf/addmul_1.c: New file.
390 * printf/printf_fp.c: New file.
391 * printf/_itoa.h: New file.
392 * printf/fpioconst.c: New file.
393 * printf/_i18n_number.h: New file.
394 * printf/flt1282mpn.c: New file.
395 * printf/rshift.c: New file.
396 * printf/mul_1.c: New file.
397 * quadmath_io.c: Removed.
398 * gdtoa/gdtoa.c: Removed.
399 * gdtoa/g__fmt.c: Removed.
400 * gdtoa/g_Qfmt.c: Removed.
401 * gdtoa/dmisc.c: Removed.
402 * gdtoa/ulp.c: Removed.
403 * config.h.in: Regenerated.
404 * configure: Regenerated.
405 * Makefile.in: Regenerated.
406
029c8f3e
RW
4072011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
408
409 * Makefile.in: Regenerate.
410 * aclocal.m4: Likewise.
411 * configure: Likewise.
412
21ac7f65
JD
4132011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
414
415 PR libquadmath/47293
416 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
417 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
418
0ecf8f66
TB
4192011-01-17 Tobias Burnus <burnus@net-b.de>
420
421 PR fortran/47295
422 * libquadmath.text: Document typedef and constants.
423
b5d4b580
TB
4242011-01-17 Tobias Burnus <burnus@net-b.de>
425
426 PR fortran/46817
427 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
428 bump copyright year and use /**/ instead of // comments.
429 * quadmath.h: Ditto.
430 * quadmath-weak.h: Ditto.
431 * quadmath_io.c: Ditto.
432
e8d42d28
JJ
4332011-01-16 Jakub Jelinek <jakub@redhat.com>
434
d6713cb8
JJ
435 PR libfortran/47322
436 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
437
e313241f
JJ
438 PR fortran/46625
439 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
440 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
441 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
442 (strtoflt128, quadmath_flt128tostr): Add.
443 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
444 (strtoflt128): ... this. Return __float128, instead of writing
445 to memory pointed by last argument.
446 * quadmath.h: Use C style comments instead of C++ style.
447 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
448 (strtoflt128, quadmath_flt128tostr): Add prototypes.
449 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
450 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
451 adjust examples.
452 * quadmath_io.c (quadmath_dtoaq): Rename to...
453 (quadmath_flt128tostr): ... this.
454
327f73c1
JJ
455 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
456 Use it for all prototypes.
457
dbc9f6c6
JJ
458 PR fortran/46416
459 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
460 const from prototype argument.
461 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
462 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
463 (__quadmath_extern_inline): Define.
464 (cimagq, conjq, crealq): New inlines.
465 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
466 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
467 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
468 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
469 * Makefile.in: Regenerated.
470 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
471 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
472 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
473 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
474 tests instead of __BIG_ENDIAN__.
475 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
476 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
477 and remquoq.
478 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
479 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
480 * math/cprojq.c: New file.
481 * math/ilogbq.c: New file.
482 * math/fminq.c: New file.
483 * math/llrintq.c: New file.
484 * math/log2q.c: New file.
485 * math/lrintq.c: New file.
486 * math/crealq.c: New file.
487 * math/nearbyintq.c: New file.
488 * math/fmaxq.c: New file.
489 * math/conjq.c: New file.
490 * math/remquoq.c: New file.
491 * math/cimagq.c: New file.
492 * math/fdimq.c: New file.
493
494 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
495
fa23b182
JJ
496 PR fortran/46416
497 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
498 New prototypes.
499 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
500 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
501 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
502 catanhq): Add.
503 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
504 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
505 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
506 catanq and catanhq.
507 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
508 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
509 and math/catanhq.c.
510 * Makefile.in: Regenerated.
511 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
512 catanq, catanhq): Add.
513 * math/cacoshq.c: New file.
514 * math/cacosq.c: New file.
515 * math/catanq.c: New file.
516 * math/catanhq.c: New file.
517 * math/casinq.c: New file.
518 * math/casinhq.c: New file.
519
520 * math/hypotq.c (hypotq): Use Q suffix instead of L.
521 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
522 * math/cosq.c (cosq): Likewise.
523
e8d42d28
JJ
524 PR fortran/46402
525 * quadmath.map (QUADMATH_1.0): Add fmaq.
526 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
527 feupdateenv, fesetenv and fetestexcept.
528 * configure: Regenerated.
529 * config.h.in: Regenerated.
530 * quadmath.h (fmaq): New prototype.
531 * quadmath_weak.h (fmaq): Add.
532 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
533 * Makefile.in: Regenerated.
534 * quadmath-imp.h: Include config.h.
535 * math/expq.c: Include fenv.h.
536 (USE_FENV_H): Define if libm support for fe* is there.
537 (expq): Add fesetround etc. support if USE_FENV_H is defined.
538 * math/fmaq.c: New file.
539 * libquadmath.texi (fmaq): Add.
540
642d2873
TB
5412011-01-14 Tobias Burnus <burnus@net-b.de>
542
543 PR fortran/47182
544 * configure.ac: Use ACX_BUGURL.
545 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
546 * Makefile.am: Create libquadmath-vers.texi.
547 * configure.in: Regenerate.
548 * Makefile.in: Regenerate.
549
a6098a28
RW
5502011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
551
552 PR fortran/47174
553 * Makefile.am (libquadmath.info): Unconditionally override
554 target, not only if BUILD_LIBQUADMATH.
555 * Makefile.in: Regenerate.
556 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
557 avoid warning from automake.
558
6f468984
TB
5592010-12-19 Tobias Burnus <burnus@net-b.de>
560
561 PR fortran/46520
562 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
563 * configure: Regenerate
564
f0c2df63
TB
5652010-12-13 Tobias Burnus <burnus@net-b.de>
566
567 PR fortran/46625
568 * gdtoa/gdtoaimp.h: Mangle internal functions by
569 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
570 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
571 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
572 if NO_STRING_H is set.
573 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
574 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
575 __quadmath prefix to internal functions.
576 * math/cosq.c (cosq): Ditto.
577 * math/sinq.c (cosq): Ditto.
578 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
579 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
580 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
581 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
582
09c2d63a
TB
5832010-12-08 Tobias Burnus <burnus@net-b.de>
584
585 PR fortran/46772
586 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
587 * gdtoa/gdtoaimp.h: Don't declare strtod.
588
abccc9a9
TB
5892010-12-08 Tobias Burnus <burnus@net-b.de>
590
591 PR fortran/46520
592 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
593 AC_TRY_LINK and cache libquad_have_float128.
594 * configure: Regenerate.
595
4c993c44
TB
5962010-12-08 Tobias Burnus <burnus@net-b.de>
597
598 PR fortran/46543
599 * configure.ac: Add texinfo checks.
600 * Makefile.am: Handle .texi documentation.
601 * libquadmath.texi: New.
602 * configure: Regenerated.
603 * Makefile.in: Regenerated.
604
545a5cb6
TB
6052010-12-06 Tobias Burnus <burnus@net-b.de>
606
607 PR fortran/46817
608 * quadmath-imp.h: Add LGPL header.
609 * quadmath.h: Add LGPL header.
610 * quadmath_io.c: Add LGPL header.
611 * quadmath_weak.h: Add LGPL header.
612
7de6ba7a
DK
6132010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
614
615 PR target/40125
616 PR lto/46695
617 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
618 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
619 * aclocal.m4: Regenerate.
620 * configure: Regenerate.
621 * Makefile.in: Regenerate.
622
375a39e2
TB
6232010-11-30 Tobias Burnus <burnus@net-b.de>
624
625 PR fortran/46594
626 * Makefile.am: Install include files in
627 target/version specific directory.
628 * Makefile.in: Regenerate.
629
70d94de7
TB
6302010-11-30 Tobias Burnus <burnus@net-b.de>
631
632 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
633 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
634 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
635
fabfcf5e
KT
6362010-11-29 Kai Tietz <kai.tietz@onevision.com>
637
638 * configure: Regenerated.
639 * Makefile.in: Regenerated.
640 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
641 (target_alias): Use AC_SUBST for it.
642 (GCC_NO_EXECUTABLES): Call it.
643 (AC_PROG_CC): Improve multilib handling.
644 Check that gcc is used for compilation.
645 Use pattern from libssp for symbol versioning checking.
646 * Makefile.am (LTLDFLAGS): Removed.
647 (libquadmath_la_LDFLAGS): Add -no-undefined.
648 (libquadmath_la_LINK): Commented out.
649 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
650 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
651 (MAKEOVERRIDES): New.
652 * aclocal.m4: Regenerated.
653
4144e658
RO
6542010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
655
656 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
657 (libquadmath_la_LDFLAGS): ... here.
658 (quadmath.map-sun): Tabify.
659 Fix sed expression.
660 * Makefile.in: Regenerate.
661
1ec601bf
FXC
6622010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
663 Tobias Burnus <burnus@net-b.de>
664
665 PR fortran/32049
666 Initial implementation and checkin.