Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PowerPC floating point little-endian [1 of 15] | Alan Modra | 2013-10-04 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | http://sourceware.org/ml/libc-alpha/2013-08/msg00081.html This is the first of a series of patches to ban ieee854_long_double and the ieee854_long_double macros when using IBM long double. union ieee854_long_double just isn't correct for IBM long double, especially when little-endian, and pretending it is OK has allowed a number of bugs to remain undetected in sysdeps/ieee754/ldbl-128ibm/. This changes the few places in generic code that use it. * stdio-common/printf_size.c (__printf_size): Don't use union ieee854_long_double in fpnum union. * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use signbit macro to retrieve sign from long double. * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to retrieve sign from long double. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. * math/test-misc.c (main): Don't use union ieee854_long_double. ports/ * sysdeps/ia64/fpu/printf_fphex.c: Adjust for fpnum change. | ||||
* | Fix typos. | Ondřej Bílka | 2013-08-30 | 1 | -1/+1 |
| | |||||
* | [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases | Thomas Schwinge | 2013-08-29 | 1 | -5/+7 |
| | |||||
* | Fix leading whitespaces. | Ondrej Bilka | 2013-06-06 | 9 | -9/+9 |
| | |||||
* | Remove trailing whitespace. | Joseph Myers | 2013-06-05 | 12 | -172/+172 |
| | |||||
* | Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490). | Joseph Myers | 2013-05-19 | 1 | -0/+2 |
| | |||||
* | Fix ldbl-128 cos range reduction near pi/2 (bug 15429). | Joseph Myers | 2013-05-09 | 1 | -5/+5 |
| | |||||
* | Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426). | Joseph Myers | 2013-05-08 | 2 | -5/+215 |
| | |||||
* | New <math.h> macro named issignaling to check for a signaling NaN (sNaN). | Thomas Schwinge | 2013-04-02 | 1 | -0/+45 |
| | | | | It is based on draft TS 18661 and currently enabled as a GNU extension. | ||||
* | Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285). | Joseph Myers | 2013-03-21 | 2 | -20/+34 |
| | |||||
* | Fix spurious underflow exceptions for Bessel functions for ldbl-128 / ↵ | Joseph Myers | 2013-03-16 | 2 | -58/+79 |
| | | | | ldbl-128ibm (bug 14155). | ||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 27 | -27/+27 |
| | |||||
* | Add script to update copyright notices and reformat some to facilitate its use. | Joseph Myers | 2013-01-01 | 2 | -4/+2 |
| | |||||
* | Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl. | Joseph Myers | 2012-11-20 | 2 | -2/+2 |
| | |||||
* | Fix spurious underflows in ldbl-128 atan implementation. | David S. Miller | 2012-11-19 | 1 | -0/+17 |
| | | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and very large arguments properly. * math/libm-test.inc (atan_test): New tests. (atan2_test): New tests. * sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. | ||||
* | Correct tinyness handling in long-double and float y0/y1. | David S. Miller | 2012-11-18 | 2 | -0/+5 |
| | | | | | | | | | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness cutoff to 2**-13. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness cutoff to 2**-25. * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very small. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. * math/libm-test.inc (y0_test): New tests. (y1_test): New tests. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update. | ||||
* | Fix BZ #14811 for ldbl-128 too. | David S. Miller | 2012-11-16 | 1 | -1/+5 |
| | | | | | | | [BZ #14811] * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate nonzero exponents with absolute value below 0x1p-128 to +/- 0x1p-128. | ||||
* | Don't generate underflow for very small values in log1pl. | David S. Miller | 2012-11-16 | 1 | -0/+6 |
| | | | | | * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is smaller than LDBL_EPSILON/2.0L, just return xm1. | ||||
* | Fix fma underflows with small x * y (bug 14793). | Joseph Myers | 2012-11-06 | 1 | -18/+27 |
| | |||||
* | Fix fma overflow results outside round-to-nearest mode (bug 14797). | Joseph Myers | 2012-11-04 | 1 | -4/+6 |
| | |||||
* | Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796). | Joseph Myers | 2012-11-03 | 1 | -2/+16 |
| | |||||
* | Fix fma (a, b, c) for small a * b (bugs 14784, 14785). | Joseph Myers | 2012-11-01 | 1 | -4/+34 |
| | |||||
* | Fix fma underflow exceptions in after-rounding edge cases. | Joseph Myers | 2012-10-31 | 1 | -0/+12 |
| | |||||
* | Fix fma missing underflows and bad results for some subnormal results (bugs ↵ | Joseph Myers | 2012-10-30 | 1 | -14/+8 |
| | | | | 14152, 14783). | ||||
* | Fix sign of inexact zero return from fma (bug 14645). | Joseph Myers | 2012-10-01 | 1 | -0/+5 |
| | |||||
* | Fix sign of exact zero return from fma (bug 14638). | Joseph Myers | 2012-09-29 | 2 | -1/+12 |
| | |||||
* | Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let builds | Steve Ellcey | 2012-09-27 | 1 | -50/+0 |
| | | | | | use bits/huge_vall.h instead. There is no longer any need for the special huge_vall.h file. | ||||
* | Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629). | Joseph Myers | 2012-09-25 | 1 | -0/+111 |
| | |||||
* | Set up errno properly for yn. | Marek Polacek | 2012-07-25 | 1 | -0/+4 |
| | |||||
* | Ensure additions are not scheduled after fetestexcept in fmaf and fmal. | Joseph Myers | 2012-06-01 | 1 | -2/+3 |
| | |||||
* | Optimize handling of denormals in logb/logbf/logbl | Andreas Schwab | 2012-05-26 | 1 | -4/+6 |
| | |||||
* | Fix for logb/logbf/logbl (bugs 13954/13955/13956) | Adhemerval Zanella | 2012-05-10 | 1 | -10/+21 |
| | | | | | | | | POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number it should be treated as if it were normalized. This means the implementation should calculate the log2 of the mantissa and add it to the subnormal exponent (-126 for float and -1022 for double and IBM long double). This patch takes care of that. | ||||
* | Fix exp10 inaccuracy and exceptions (bugs 13884, 13914). | Joseph Myers | 2012-05-06 | 1 | -0/+47 |
| | |||||
* | Fix nexttoward bugs (bugs 2550, 2570). | Joseph Myers | 2012-05-01 | 2 | -16/+4 |
| | |||||
* | Finish ilogb changes | Andreas Jaeger | 2012-04-18 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | [BZ# 6794] * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. | ||||
* | Avoid overflows from long double functions using __kernel_standard. | Joseph Myers | 2012-03-28 | 1 | -2/+2 |
| | |||||
* | Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm. | Joseph Myers | 2012-03-22 | 3 | -3/+11 |
| | |||||
* | Fix generic ldbl-128 expm1l just like x86-64 and i386 variants were. | David S. Miller | 2012-03-13 | 1 | -0/+5 |
| | | | | | * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for large parameters. | ||||
* | Use <> for math.h and math_private.h everywhere. | Richard Henderson | 2012-03-09 | 63 | -112/+112 |
| | | | | Entire tree edited via find | grep | sed. | ||||
* | Fix scalbn, scalbln integer overflow. | Joseph Myers | 2012-03-02 | 2 | -6/+10 |
| | |||||
* | Fix ldbl-128 rintl/nearbyintl just like flt-32 variants. | David S. Miller | 2012-02-27 | 2 | -44/+6 |
| | | | | | | * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not manipulate bits before adding and subtracting TWO112[sx]. * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. | ||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 44 | -115/+86 |
| | |||||
* | Remove __STDC__ conditionals from libm. | Joseph Myers | 2012-01-27 | 26 | -224/+23 |
| | |||||
* | Optimize exp | Ulrich Drepper | 2011-10-15 | 1 | -2/+3 |
| | | | | Add __exp*_finite optimizations and rewrite some wrappers. | ||||
* | Optimize libm | Ulrich Drepper | 2011-10-12 | 19 | -189/+91 |
| | | | | | libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized. | ||||
* | Optimize use of isnan, isinf, finite | Ulrich Drepper | 2011-10-08 | 1 | -0/+19 |
| | |||||
* | Fix jn precision | Petr Baudis | 2011-09-09 | 1 | -1/+10 |
| | |||||
* | ldbl-128 fmal compile fix | Jakub Jelinek | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | IEEE quad fmal fixes | Jakub Jelinek | 2010-10-18 | 1 | -2/+4 |
| | |||||
* | Implement fmal, some fma bugfixes | Jakub Jelinek | 2010-10-15 | 1 | -0/+221 |
| |