]> git.ipfire.org Git - thirdparty/gcc.git/blame - libquadmath/ChangeLog
re PR other/79046 (g++ -print-file-name=plugin uses full version number in path)
[thirdparty/gcc.git] / libquadmath / ChangeLog
CommitLineData
3c36aa6b
JJ
12017-01-17 Jakub Jelinek <jakub@redhat.com>
2
3 PR other/79046
4 * configure.ac: Add GCC_BASE_VER.
5 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
6 get version from BASE-VER file.
7 * configure: Regenerated.
8 * Makefile.in: Regenerated.
9
c1a9c369
JJ
102017-01-01 Jakub Jelinek <jakub@redhat.com>
11
12 * libquadmath.texi: Bump @copying's copyright year.
13
84c1b9d3
MK
142016-11-15 Matthias Klose <doko@ubuntu.com>
15
16 * configure: Regenerate.
17
21fa2a29
JJ
182016-01-04 Jakub Jelinek <jakub@redhat.com>
19
20 * libquadmath.texi: Bump @copying's copyright year.
21
03c02a42
FXC
222015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
23
84c1b9d3 24 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
03c02a42
FXC
25 * Makefile.in: Regenerate.
26 * libquadmath.texi: Document logbq.
27 * quadmath.h: Add logbq prototype.
28 * quadmath.map: Add logbq.
29 * quadmath_weak.h: Add logbq prototype.
30 * math/logbq.c: New file
31
5d79f496
MH
322015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
33
34 * Makefile.in: Regenerated with automake-1.11.6.
35 * aclocal.m4: Likewise.
36 * configure: Likewise.
37
ee5f0523
MK
382015-01-26 Matthias Klose <doko@ubuntu.com>
39
40 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
41 * configure: Regenerate.
42
b67cd4e3
JJ
432015-01-05 Jakub Jelinek <jakub@redhat.com>
44
45 * libquadmath.texi: Bump @copying's copyright year.
46
a699d672
L
472014-11-21 H.J. Lu <hongjiu.lu@intel.com>
48
49 PR bootstrap/63784
50 * configure: Regenerated.
51
ebf6d33b
FXC
522014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
53
54 PR target/63610
55 * configure: Regenerate.
56
0f01f740
FXC
572014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
58
59 PR libquadmath/55821
60 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
61 * Makefile.in: Regenerate.
62
9d55066c
FXC
632014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
64
65 PR libquadmath/55821
66 * Makefile.am: Conditionally define info_TEXINFOS and
67 libquadmath_TEXINFOS.
68 * Makefile.in: Regenerate.
69
90c0d4c4
FXC
702014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
71
72 PR libquadmath/63487
73 * libquadmath.texi (sincosq): Fix typo.
74
98db73df
TB
752014-01-02 Tobias Burnus <burnus@net-b.de>
76
77 * libquadmath.texi: Bump @copying's copyright year.
78
b21fbbd2
RS
792013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
80
81 * Makefile.am (AM_CPPFLAGS): Define.
82 * Makefile.in: Regenerate.
83 * printf/gmp-impl.h: Remove path from longlong.h include.
84
3cbe17f7
AM
852013-09-20 Alan Modra <amodra@gmail.com>
86
87 * configure: Regenerate.
88
5709153c
SK
892013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
90
91 PR libquadmath/55473
92 * quadmath.h: Add 'extern "C"' block for C++ use.
93
d6988187
JJ
942013-02-19 Jakub Jelinek <jakub@redhat.com>
95
96 PR libquadmath/56379
97 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
98 macro.
99
162ceab4
TB
1002013-02-17 Tobias Burnus <burnus@net-b.de>
101
102 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
103
1b78544f
RS
1042013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
105
106 Revert previous patch.
107
1a41c323
RS
1082013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
109
110 Update copyright years.
111
7ab53cfd
JJ
1122013-01-22 Jakub Jelinek <jakub@redhat.com>
113
114 PR libquadmath/56072
115 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
116
de137957
JJ
1172012-12-13 Jakub Jelinek <jakub@redhat.com>
118
119 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
120 instead of L suffixed ones.
121 * math/fmaq.c (fmaq): Likewise.
122 * math/rintq.c (TWO112): Likewise.
123
36402bb1
TB
1242012-12-03 Tobias Burnus <burnus@net-b.de>
125
126 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
127 reading.
128
24a9cea6
TB
1292012-11-25 Tobias Burnus <burnus@net-b.de>
130
131 PR libquadmath/55462
132 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
133 instead of nonexisting HAVE_GET_ROUNDING_MODE.
134
1773438a
L
1352012-11-23 H.J. Lu <hongjiu.lu@intel.com>
136
137 PR bootstrap/55455
138 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
139 void to fegetround.
140
05abb346
TB
1412012-11-23 Tobias Burnus <burnus@net-b.de>
142 Joseph Myers <joseph@codesourcery.com>
143
144 * quadmath-rounding-mode.h: New.
145 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
146 * printf/fpioconst.h: Ditto.
147 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
148 Make printf respect the rounding mode for decimal output.
149 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
150 GLIBC. Make printf respect the rounding mode for hex output.
151 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
152 rounding mode. Fix strtod handling of underflow.
153
7cf8c994
DM
1542012-11-22 David S. Miller <davem@davemloft.net>
155 Tobias Burnus <burnus@net-b.de>
156 Joseph Myers <joseph@codesourcery.com>
157
158 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
159 very large arguments properly.
160 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
161 underflow when 'x' is very small.
162 * math/j1q.c (y1q): Ditto.
163 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
164 nonzero exponents with absolute value below 0x1p-128 to
165 +/- 0x1p-128.
166 * math/powq.c (powq): Update from GLIBC. If xm1 is
167 smaller than LDBL_EPSILON/2.0L, just return xm1.
168
5a09d908
TB
1692012-11-21 Tobias Burnus <burnus@net-b.de>
170
171 PR libquadmath/55225
172 * math/lgammaq.c (lgammaq): Use local variable if
173 math.h does not provide signgam.
174 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
175 * configure.ac: Use it.
176 * configure: Regenerate.
177 * config.h.in: Regenerate.
178
7ee2eb82
TB
1792012-11-15 Tobias Burnus <burnus@net-b.de>
180 Joseph Myers <joseph@codesourcery.com>
181
182 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
183 underflows with small x * y; Fix overflow results
184 outside round-to-nearest mode; make use of Dekker
185 and Knuth algorithms use round-to-nearest.
186
2749bf29
TB
1872012-11-01 Tobias Burnus <burnus@net-b.de>
188
189 * math/fmaq.c (fmaq): Fix build.
190
e4320d7d
TB
1912012-11-01 Tobias Burnus <burnus@net-b.de>
192 Joseph Myers <joseph@codesourcery.com>
193
194 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
195 with small x * y using scaling, not as x * y + z.
196 * math/lgammaq.c (lgammaq): Fix signgam handling.
197
f029f4be
TB
1982012-11-01 Tobias Burnus <burnus@net-b.de>
199
200 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
201 * Makefile.in: Regenerated.
202 * math/acoshq.c: Update comment.
203 * math/acosq.c: Ditto.
204 * math/asinhq.c: Ditto.
205 * math/asinq.c: Ditto.
206 * math/atan2q.c: Ditto.
207 * math/atanhq.c: Ditto.
208 * math/ceilq.c: Ditto.
209 * math/copysignq.c: Ditto.
210 * math/cosq.c: Ditto.
211 * math/coshq.c: Ditto.
212 * math/erfq.c: Ditto.
213 * math/fabsq.c: Ditto.
214 * math/finiteq.c: Ditto.
215 * math/floorq.c: Ditto.
216 * math/fmodq.c: Ditto.
217 * math/frexpq.c: Ditto.
218 * math/isnanq.c: Ditto.
219 * math/j0q.c: Ditto.
220 * math/j1q.c: Ditto.
221 * math/ldexpq.c: Ditto.
222 * math/llroundq.c: Ditto.
223 * math/log10q.c: Ditto.
224 * math/log1pq.c: Ditto.
225 * math/log2q.c: Ditto.
226 * math/logq.c: Ditto.
227 * math/lroundq.c: Ditto.
228 * math/modfq.c: Ditto.
229 * math/nextafterq.c: Ditto.
230 * math/powq.c: Ditto.
231 * math/rem_pio2q.c: Ditto.
232 * math/remainderq.c: Ditto.
233 * math/rintq.c: Ditto.
234 * math/roundq.c: Ditto.
235 * math/scalblnq.c: Ditto.
236 * math/scalbnq.c: Ditto.
237 * math/sincosq_kernel.c: Ditto.
238 * math/sinq.c: Ditto.
239 * math/tanq.c: Ditto.
240 * math/expq.c: Ditto.
241 (__expq_table, expq): Renamed local array from __expl_table.
242 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
243 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
244 * math/casinhq.c: Changes from GLIBC to fix special-case.
245 * math/cbrtq.c: Use modified GLIBC version.
246 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
247 ctanhq, ctanq): Moved to separates files.
248 (mult_c128, div_c128): Removed no longer needed functions.
249 (cexpiq): Call sincosq instead of sinq and cosq.
250 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
251 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
252 modified based on GLIBC.
253 * math/cexpq.c (cexp): Ditto.
254 * math/clog10q.c (clog10q): Ditto.
255 * math/clogq.c (clogq): Ditto.
256 * math/csinhq.c: Ditto.
257 * math/csinq.c: Ditto.
258 * math/csqrtq.c: Ditto.
259 * math/ctanhq.c: Ditto.
260 * math/ctanq.c: Ditto.
261 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
262 from GLIBC.
263 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
264 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
265 from GLIBC.
266 * math/lgammaq.c (lgammaq): Add signgam handling.
267 * math/sinhq.c (sinhq): Fix sign handling.
268 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
269 * math/tgammaq.c (tgammaq): Ditto.
270 * math/x2y2m1q.c: New file.
271 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
272 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
273
737df6e6
TB
2742012-10-31 Tobias Burnus <burnus@net-b.de>
275 Joseph Myers <joseph@codesourcery.com>
276 David S. Miller <davem@davemloft.net>
277 Ulrich Drepper <drepper@redhat.com>
278 Marek Polacek <polacek@redhat.com>:
279 Petr Baudis <pasky@suse.cz>
280
281 * math/complex.c (csqrtq): NaN and INF fixes.
282 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
283 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
284 large parameters. Fix errno for boundary conditions.
285 * math/finiteq.c (finiteq): Add comment.
286 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
287 and bad results for some subnormal results. Fix sign of inexact
288 zero return. Fix sign of exact zero return.
289 Ensure additions are not scheduled after fetestexcept.
290 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
291 for ynq. Fix jnq precision.
292 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
293 manipulate bits before adding and subtracting TWO112[sx].
294 * math/rintq.c (rintq): Ditto.
295 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
296 overflow.
297
249b09fa
DE
2982012-09-14 David Edelsohn <dje.gcc@gmail.com>
299
300 * configure: Regenerated.
301
19af62db
BK
3022012-05-29 Benjamin Kosnik <bkoz@redhat.com>
303
304 PR libstdc++/51007
305 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
306 * configure: Regenerated.
249b09fa 307
e6d5f8c9
L
3082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
309
310 * configure: Regenerated.
311
c6084f68
AT
3122011-11-21 Andreas Tobler <andreast@fgznet.ch>
313
314 * configure: Regenerate.
315
744bbef1
KT
3162011-11-07 Kai Tietz <ktietz@redhat.com>
317
318 PR target/51007
319 * quadmath-imp.h (ieee854_float128): Adjust
320 for ms-bitfield layout.
321
f9989b51
RO
3222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
323
324 * printf/gmp-impl.h: Adapt path to longlong.h.
325
88cc02ff
JM
3262011-09-21 Joseph Myers <joseph@codesourcery.com>
327
328 * Makefile.am (FLAGS_TO_PASS): Define.
329 * Makefile.in: Regenerate.
330
57044b5a
JJ
3312011-08-01 Jakub Jelinek <jakub@redhat.com>
332
333 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
334 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
335
1e4eb7bb
TB
3362011-04-03 Tobias Burnus <burnus@net-b.de>
337
338 PR fortran/48311
339 * libquadmath.texi (strtoflt128): Fix typo.
340 (quadmath_snprintf): Move note up, make @item.
341
cf3b3080
JJ
3422011-03-25 Jakub Jelinek <jakub@redhat.com>
343
344 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
345 mempcpy.
346
bf382f5f
RO
3472011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
348
349 PR bootstrap/48135
350 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
351 * configure: Regenerate.
352
9926de2c
JJ
3532011-02-28 Jakub Jelinek <jakub@redhat.com>
354
355 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
356 that for size > 0 str is always zero terminated.
357
a3a33a7b
JJ
3582011-02-20 Jakub Jelinek <jakub@redhat.com>
359
360 PR bootstrap/47827
361 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
362
a855debf
JJ
3632011-02-17 Jakub Jelinek <jakub@redhat.com>
364
365 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
366 FLT128_MAX_10_EXP): Document.
367 (strtoflt128): Remove obsolete comment.
368 * configure.ac (HAVE_STRTOULL): New check.
369 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
370 define.
371 * printf/mul_n.c: Include <config.h>.
372 * printf/add_n.c: Likewise.
373 * printf/cmp.c: Likewise.
374 * printf/fpioconst.c: Likewise.
375 * printf/mul_1.c: Likewise.
376 * printf/rshift.c: Likewise.
377 * printf/lshift.c: Likewise.
378 * printf/submul_1.c: Likewise.
379 * printf/sub_n.c: Likewise.
380 * printf/divrem.c: Likewise.
381 * printf/addmul_1.c: Likewise.
382 * printf/mul.c: Likewise.
383 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
384 to avoid evaluating argument multiple times.
385 (isxdigit): Redefine.
386 * strtod/strtoflt128.c: New file.
387 * strtod/strtod_l.c: New file.
388 * strtod/mpn2flt128.c: New file.
389 * strtod/grouping.h: New file.
390 * strtod/tens_in_limb.c: New file.
391 * gdtoa/arith.h: Removed.
392 * gdtoa/gd_qnan.h: Removed.
393 * gdtoa/gdtoa_fltrnds.h: Removed.
394 * gdtoa/gdtoa.h: Removed.
395 * gdtoa/gdtoaimp.h: Removed.
396 * gdtoa/gethex.c: Removed.
397 * gdtoa/gmisc.c: Removed.
398 * gdtoa/hd_init.c: Removed.
399 * gdtoa/hexnan.c: Removed.
400 * gdtoa/makefile: Removed.
401 * gdtoa/misc.c: Removed.
402 * gdtoa/README.gdtoa: Removed.
403 * gdtoa/smisc.c: Removed.
404 * gdtoa/strtodg.c: Removed.
405 * gdtoa/strtopQ.c: Removed.
406 * gdtoa/sum.c: Removed.
407 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
408 Define.
409 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
410 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
411 * config.h.in: Regenerated.
412 * configure: Regenerated.
413 * Makefile.in: Regenerated.
414
d2995f21
JJ
4152011-02-16 Jakub Jelinek <jakub@redhat.com>
416
417 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
418 whether workarounds for printf hook handling should be added.
419
420 * configure.ac: Check for locale.h too.
421 (USE_LOCALE_SUPPORT): Remove check.
422 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
423 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
424 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
425 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
426 for wide version.
427 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
428 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
429 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
430 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
431 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
432 USE_I18N_NUMBER_H #ifdef.
433 * configure: Regenerated.
434 * config.h.in: Regenerated.
435
1d92226b
JJ
4362011-02-14 Jakub Jelinek <jakub@redhat.com>
437
12967872
JJ
438 PR bootstrap/47736
439 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
440 user field.
441 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
442 field instead of setting individual fields to 0. Don't set info.user
443 to -1.
444 * configure: Regenerated.
445
49f0e1ba
JJ
446 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
447 * printf/printf_fp.c: Don't include <alloca.h>.
448 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
449 * configure: Regenerated.
450
1d92226b
JJ
451 PR fortran/47642
452 * libquadmath.texi (quadmath_snprintf): Document.
453 (quadmath_flt128tostr): Remove.
454 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
455 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
456 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
457 * quadmath.h (quadmath_snprintf): New prototype.
458 (quadmath_flt128tostr): Remove.
459 * quadmath_weak.h (quadmath_snprintf): Add.
460 (quadmath_flt128tostr): Remove.
461 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
462 wctype.h, limits.h, ctype.h, printf.h, errno.h.
463 (AC_USE_SYSTEM_EXTENSIONS): Add.
464 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
465 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
466 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
467 quadmath_flt128tostr.
468 * printf/printf_fphex.c: New file.
469 * printf/_itowa.h: New file.
470 * printf/mul_n.c: New file.
471 * printf/quadmath-printf.h: New file.
472 * printf/submul_1.c: New file.
473 * printf/quadmath-printf.c: New file.
474 * printf/gmp-impl.h: New file.
475 * printf/lshift.c: New file.
476 * printf/fpioconst.h: New file.
477 * printf/add_n.c: New file.
478 * printf/cmp.c: New file.
479 * printf/sub_n.c: New file.
480 * printf/mul.c: New file.
481 * printf/divrem.c: New file.
482 * printf/addmul_1.c: New file.
483 * printf/printf_fp.c: New file.
484 * printf/_itoa.h: New file.
485 * printf/fpioconst.c: New file.
486 * printf/_i18n_number.h: New file.
487 * printf/flt1282mpn.c: New file.
488 * printf/rshift.c: New file.
489 * printf/mul_1.c: New file.
490 * quadmath_io.c: Removed.
491 * gdtoa/gdtoa.c: Removed.
492 * gdtoa/g__fmt.c: Removed.
493 * gdtoa/g_Qfmt.c: Removed.
494 * gdtoa/dmisc.c: Removed.
495 * gdtoa/ulp.c: Removed.
496 * config.h.in: Regenerated.
497 * configure: Regenerated.
498 * Makefile.in: Regenerated.
499
029c8f3e
RW
5002011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
501
502 * Makefile.in: Regenerate.
503 * aclocal.m4: Likewise.
504 * configure: Likewise.
505
21ac7f65
JD
5062011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
507
508 PR libquadmath/47293
509 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
510 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
511
0ecf8f66
TB
5122011-01-17 Tobias Burnus <burnus@net-b.de>
513
514 PR fortran/47295
515 * libquadmath.text: Document typedef and constants.
516
b5d4b580
TB
5172011-01-17 Tobias Burnus <burnus@net-b.de>
518
519 PR fortran/46817
520 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
521 bump copyright year and use /**/ instead of // comments.
522 * quadmath.h: Ditto.
523 * quadmath-weak.h: Ditto.
524 * quadmath_io.c: Ditto.
525
e8d42d28
JJ
5262011-01-16 Jakub Jelinek <jakub@redhat.com>
527
d6713cb8
JJ
528 PR libfortran/47322
529 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
530
e313241f
JJ
531 PR fortran/46625
532 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
533 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
534 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
535 (strtoflt128, quadmath_flt128tostr): Add.
536 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
537 (strtoflt128): ... this. Return __float128, instead of writing
538 to memory pointed by last argument.
539 * quadmath.h: Use C style comments instead of C++ style.
540 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
541 (strtoflt128, quadmath_flt128tostr): Add prototypes.
542 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
543 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
544 adjust examples.
545 * quadmath_io.c (quadmath_dtoaq): Rename to...
546 (quadmath_flt128tostr): ... this.
547
327f73c1
JJ
548 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
549 Use it for all prototypes.
550
dbc9f6c6
JJ
551 PR fortran/46416
552 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
553 const from prototype argument.
554 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
555 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
556 (__quadmath_extern_inline): Define.
557 (cimagq, conjq, crealq): New inlines.
558 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
559 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
560 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
561 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
562 * Makefile.in: Regenerated.
563 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
564 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
565 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
566 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
567 tests instead of __BIG_ENDIAN__.
568 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
569 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
570 and remquoq.
571 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
572 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
573 * math/cprojq.c: New file.
574 * math/ilogbq.c: New file.
575 * math/fminq.c: New file.
576 * math/llrintq.c: New file.
577 * math/log2q.c: New file.
578 * math/lrintq.c: New file.
579 * math/crealq.c: New file.
580 * math/nearbyintq.c: New file.
581 * math/fmaxq.c: New file.
582 * math/conjq.c: New file.
583 * math/remquoq.c: New file.
584 * math/cimagq.c: New file.
585 * math/fdimq.c: New file.
586
587 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
588
fa23b182
JJ
589 PR fortran/46416
590 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
591 New prototypes.
592 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
593 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
594 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
595 catanhq): Add.
596 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
597 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
598 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
599 catanq and catanhq.
600 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
601 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
602 and math/catanhq.c.
603 * Makefile.in: Regenerated.
604 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
605 catanq, catanhq): Add.
606 * math/cacoshq.c: New file.
607 * math/cacosq.c: New file.
608 * math/catanq.c: New file.
609 * math/catanhq.c: New file.
610 * math/casinq.c: New file.
611 * math/casinhq.c: New file.
612
613 * math/hypotq.c (hypotq): Use Q suffix instead of L.
614 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
615 * math/cosq.c (cosq): Likewise.
616
e8d42d28
JJ
617 PR fortran/46402
618 * quadmath.map (QUADMATH_1.0): Add fmaq.
619 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
620 feupdateenv, fesetenv and fetestexcept.
621 * configure: Regenerated.
622 * config.h.in: Regenerated.
623 * quadmath.h (fmaq): New prototype.
624 * quadmath_weak.h (fmaq): Add.
625 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
626 * Makefile.in: Regenerated.
627 * quadmath-imp.h: Include config.h.
628 * math/expq.c: Include fenv.h.
629 (USE_FENV_H): Define if libm support for fe* is there.
630 (expq): Add fesetround etc. support if USE_FENV_H is defined.
631 * math/fmaq.c: New file.
632 * libquadmath.texi (fmaq): Add.
633
642d2873
TB
6342011-01-14 Tobias Burnus <burnus@net-b.de>
635
636 PR fortran/47182
637 * configure.ac: Use ACX_BUGURL.
638 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
639 * Makefile.am: Create libquadmath-vers.texi.
640 * configure.in: Regenerate.
641 * Makefile.in: Regenerate.
642
a6098a28
RW
6432011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644
645 PR fortran/47174
646 * Makefile.am (libquadmath.info): Unconditionally override
647 target, not only if BUILD_LIBQUADMATH.
648 * Makefile.in: Regenerate.
649 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
650 avoid warning from automake.
651
6f468984
TB
6522010-12-19 Tobias Burnus <burnus@net-b.de>
653
654 PR fortran/46520
655 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
656 * configure: Regenerate
657
f0c2df63
TB
6582010-12-13 Tobias Burnus <burnus@net-b.de>
659
660 PR fortran/46625
661 * gdtoa/gdtoaimp.h: Mangle internal functions by
662 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
663 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
664 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
665 if NO_STRING_H is set.
666 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
667 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
668 __quadmath prefix to internal functions.
669 * math/cosq.c (cosq): Ditto.
670 * math/sinq.c (cosq): Ditto.
671 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
672 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
673 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
674 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
675
09c2d63a
TB
6762010-12-08 Tobias Burnus <burnus@net-b.de>
677
678 PR fortran/46772
679 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
680 * gdtoa/gdtoaimp.h: Don't declare strtod.
681
abccc9a9
TB
6822010-12-08 Tobias Burnus <burnus@net-b.de>
683
684 PR fortran/46520
685 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
686 AC_TRY_LINK and cache libquad_have_float128.
687 * configure: Regenerate.
688
4c993c44
TB
6892010-12-08 Tobias Burnus <burnus@net-b.de>
690
691 PR fortran/46543
692 * configure.ac: Add texinfo checks.
693 * Makefile.am: Handle .texi documentation.
694 * libquadmath.texi: New.
695 * configure: Regenerated.
696 * Makefile.in: Regenerated.
697
545a5cb6
TB
6982010-12-06 Tobias Burnus <burnus@net-b.de>
699
700 PR fortran/46817
701 * quadmath-imp.h: Add LGPL header.
702 * quadmath.h: Add LGPL header.
703 * quadmath_io.c: Add LGPL header.
704 * quadmath_weak.h: Add LGPL header.
705
7de6ba7a
DK
7062010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
707
708 PR target/40125
709 PR lto/46695
710 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
711 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
712 * aclocal.m4: Regenerate.
713 * configure: Regenerate.
714 * Makefile.in: Regenerate.
715
375a39e2
TB
7162010-11-30 Tobias Burnus <burnus@net-b.de>
717
718 PR fortran/46594
719 * Makefile.am: Install include files in
720 target/version specific directory.
721 * Makefile.in: Regenerate.
722
70d94de7
TB
7232010-11-30 Tobias Burnus <burnus@net-b.de>
724
725 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
726 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
727 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
728
fabfcf5e
KT
7292010-11-29 Kai Tietz <kai.tietz@onevision.com>
730
731 * configure: Regenerated.
732 * Makefile.in: Regenerated.
733 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
734 (target_alias): Use AC_SUBST for it.
735 (GCC_NO_EXECUTABLES): Call it.
736 (AC_PROG_CC): Improve multilib handling.
737 Check that gcc is used for compilation.
738 Use pattern from libssp for symbol versioning checking.
739 * Makefile.am (LTLDFLAGS): Removed.
740 (libquadmath_la_LDFLAGS): Add -no-undefined.
741 (libquadmath_la_LINK): Commented out.
742 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
743 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
744 (MAKEOVERRIDES): New.
745 * aclocal.m4: Regenerated.
746
4144e658
RO
7472010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
748
749 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
750 (libquadmath_la_LDFLAGS): ... here.
751 (quadmath.map-sun): Tabify.
752 Fix sed expression.
753 * Makefile.in: Regenerate.
754
1ec601bf
FXC
7552010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
756 Tobias Burnus <burnus@net-b.de>
757
758 PR fortran/32049
759 Initial implementation and checkin.
21fa2a29 760\f
c1a9c369 761Copyright (C) 2010-2017 Free Software Foundation, Inc.
21fa2a29
JJ
762
763Copying and distribution of this file, with or without modification,
764are permitted in any medium without royalty provided the copyright
765notice and this notice are preserved.