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