Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | PowerPC floating point little-endian [1 of 15] | Alan Modra | 2013-10-04 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases | Thomas Schwinge | 2013-08-29 | 1 | -5/+4 | |
| | ||||||
* | Fix cbrtl for ldbl-96 | Andreas Schwab | 2013-08-13 | 1 | -1/+1 | |
| | ||||||
* | Fix leading whitespaces. | Ondrej Bilka | 2013-06-06 | 1 | -1/+1 | |
| | ||||||
* | Remove trailing whitespace. | Joseph Myers | 2013-06-05 | 1 | -2/+2 | |
| | ||||||
* | Fix ldbl-96 hypotl of subnormals (bug 15529). | Joseph Myers | 2013-05-24 | 1 | -1/+1 | |
| | ||||||
* | Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490). | Joseph Myers | 2013-05-19 | 1 | -0/+2 | |
| | ||||||
* | Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426). | Joseph Myers | 2013-05-08 | 3 | -11/+253 | |
| | ||||||
* | New <math.h> macro named issignaling to check for a signaling NaN (sNaN). | Thomas Schwinge | 2013-04-02 | 1 | -0/+43 | |
| | | | | It is based on draft TS 18661 and currently enabled as a GNU extension. | |||||
* | Fix y1l spurious overflows for ldbl-96 (bug 15283). | Joseph Myers | 2013-03-16 | 1 | -1/+1 | |
| | ||||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 25 | -25/+25 | |
| | ||||||
* | Use hex float 64-bit values in ldbl-96 asinl (bug 14803). | Joseph Myers | 2012-11-28 | 1 | -3/+6 | |
| | ||||||
* | 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 | 2 | -4/+32 | |
| | ||||||
* | Fix fma (a, b, c) for small a * b (bugs 14784, 14785). | Joseph Myers | 2012-11-01 | 1 | -4/+32 | |
| | ||||||
* | 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/+10 | |
| | ||||||
* | Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629). | Joseph Myers | 2012-09-25 | 2 | -0/+150 | |
| | ||||||
* | Quash warning in s_sincosl. | Marek Polacek | 2012-08-17 | 1 | -2/+2 | |
| | ||||||
* | Set up errno properly for yn. | Marek Polacek | 2012-07-25 | 1 | -0/+4 | |
| | ||||||
* | Fix ynl return value with LDBL_MIN. | Marek Polacek | 2012-07-12 | 1 | -1/+2 | |
| | ||||||
* | Ensure additions are not scheduled after fetestexcept in fmaf and fmal. | Joseph Myers | 2012-06-01 | 1 | -1/+4 | |
| | ||||||
* | 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 | -14/+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 missing exceptions from exp (bugs 13787, 13922, 14036). | Joseph Myers | 2012-05-05 | 1 | -18/+5 | |
| | ||||||
* | 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 tan, tanl for large inputs. | Joseph Myers | 2012-03-16 | 2 | -3/+145 | |
| | ||||||
* | Include program generating __sincosl_table in comment. | Joseph Myers | 2012-03-16 | 1 | -2/+41 | |
| | ||||||
* | Implement ldbl-96 sinl / cosl / sincosl (bug 13851). | Joseph Myers | 2012-03-16 | 6 | -2/+931 | |
| | ||||||
* | Use <> for math.h and math_private.h everywhere. | Richard Henderson | 2012-03-09 | 48 | -83/+83 | |
| | | | | Entire tree edited via find | grep | sed. | |||||
* | Fix up long double fphex. | Marek Polacek | 2012-03-06 | 1 | -1/+2 | |
| | ||||||
* | Fix scalbn, scalbln integer overflow. | Joseph Myers | 2012-03-02 | 2 | -6/+10 | |
| | ||||||
* | Use non-signaling floating-point comparisons in math functions. | Aurelien Jarno | 2012-02-19 | 1 | -3/+3 | |
| | ||||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 25 | -69/+50 | |
| | ||||||
* | Remove __STDC__ conditionals from libm. | Joseph Myers | 2012-01-27 | 22 | -178/+22 | |
| | ||||||
* | Optimize scalbln | Ulrich Drepper | 2012-01-11 | 1 | -25/+13 | |
| | ||||||
* | Optimize s_modf | Ulrich Drepper | 2012-01-10 | 1 | -16/+4 | |
| | ||||||
* | Optimize ldexp and scalbn | Ulrich Drepper | 2012-01-10 | 1 | -25/+13 | |
| | ||||||
* | Avoid warnings about unused variable in 96-bit j0l and j1l | Ulrich Drepper | 2011-11-12 | 2 | -4/+4 | |
| | ||||||
* | Avoid warnings about unused variables in 96-bit hypotl | Ulrich Drepper | 2011-11-12 | 1 | -2/+4 | |
| | ||||||
* | Use math_force_eval in more places | Ulrich Drepper | 2011-10-25 | 3 | -38/+35 | |
| | ||||||
* | Optimization to some complex math functions | Ulrich Drepper | 2011-10-22 | 1 | -1/+1 | |
| | | | | Also, change last reference to __sqrt into __sqrt to easily. | |||||
* | Optimize exp | Ulrich Drepper | 2011-10-15 | 1 | -51/+38 | |
| | | | | Add __exp*_finite optimizations and rewrite some wrappers. | |||||
* | Optimize libm | Ulrich Drepper | 2011-10-12 | 14 | -455/+130 | |
| | | | | | 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/+18 | |
| |