Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Finish ilogb changes | Andreas Jaeger | 2012-04-18 | 4 | -9/+4 |
| | | | | | | | | | | | | | | | | | | [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. | ||||
* | Remove useless __ilogb*_finite aliases | Andreas Schwab | 2012-04-18 | 2 | -2/+0 |
| | |||||
* | Fix ilogb exception and errno (bug 6794) | Adhemerval Zanella | 2012-04-17 | 5 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | [BZ #6794] Following Joseph comments about bug 6794, here is a proposed fix. It turned out to be a large fix mainly because I had to move some file along to follow libm files/names conventions. Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and set the errno and raise exceptions as expected. The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'. I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well. Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested on i386, x86-64, ppc32 and ppc64. | ||||
* | Fix missing overflow exceptions from pow (bug 13873). | Joseph Myers | 2012-04-09 | 1 | -2/+3 |
| | |||||
* | Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705). | Aurelien Jarno | 2012-04-08 | 1 | -2/+2 |
| | |||||
* | Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866). | Joseph Myers | 2012-03-28 | 1 | -1/+53 |
| | |||||
* | Avoid overflows from long double functions using __kernel_standard. | Joseph Myers | 2012-03-28 | 3 | -4/+36 |
| | |||||
* | Fix undue underflow in ldbl-128ibm version of expl | Andreas Schwab | 2012-03-26 | 1 | -2/+2 |
| | |||||
* | Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm. | Joseph Myers | 2012-03-22 | 6 | -6/+22 |
| | |||||
* | Fix missing overflow/underflow exception in ldbl-128ibm version of powl | Andreas Schwab | 2012-03-21 | 1 | -2/+2 |
| | |||||
* | Disable use of FMA instructions in branred | Andreas Schwab | 2012-03-21 | 2 | -34/+131 |
| | |||||
* | Fix pow of zero and infinity to large powers. | Joseph Myers | 2012-03-21 | 1 | -1/+1 |
| | |||||
* | Fix atan2 spurious exceptions (bug 11451). | Joseph Myers | 2012-03-19 | 1 | -1/+8 |
| | |||||
* | Create and use libc_feupdateenv_test. | Richard Henderson | 2012-03-19 | 2 | -15/+22 |
| | | | | | We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept. | ||||
* | Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}. | Richard Henderson | 2012-03-19 | 7 | -134/+121 |
| | |||||
* | Make inline __isnan, __isinf_ns, __finite generic. | Richard Henderson | 2012-03-19 | 2 | -0/+70 |
| | | | | | | For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header. | ||||
* | Make lround the alias of llround for wordsize-64 | H.J. Lu | 2012-03-16 | 2 | -80/+80 |
| | |||||
* | Fix tan, tanl for large inputs. | Joseph Myers | 2012-03-16 | 3 | -5/+147 |
| | |||||
* | 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 | 7 | -9/+941 |
| | |||||
* | Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit | Andreas Jaeger | 2012-03-14 | 1 | -5/+5 |
| | | | | so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision) | ||||
* | Fix hypotf overflow/underflow by using double precision instead of scaling. | David S. Miller | 2012-03-13 | 1 | -52/+25 |
| | | | | | | [BZ #13840] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use double-precision for the calculation instead of scaling. | ||||
* | Clean up dbl-64 rint, nearbyint. | Joseph Myers | 2012-03-13 | 4 | -84/+6 |
| | |||||
* | 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 | 308 | -537/+537 |
| | | | | Entire tree edited via find | grep | sed. | ||||
* | Use target-specific math_private.h in math_ldbl_opt.h. | Richard Henderson | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Fix up long double fphex. | Marek Polacek | 2012-03-06 | 1 | -1/+2 |
| | |||||
* | Fix loss of precision in cosh and sinh for IBM long double | Andreas Schwab | 2012-03-05 | 2 | -10/+10 |
| | |||||
* | Fix pow in non-default rounding modes (bug 3976). | Joseph Myers | 2012-03-05 | 1 | -2/+11 |
| | |||||
* | Fix sin, cos, tan in non-default rounding modes (bug 3976). | Joseph Myers | 2012-03-02 | 2 | -83/+143 |
| | |||||
* | Fix scalbn, scalbln integer overflow. | Joseph Myers | 2012-03-02 | 12 | -36/+60 |
| | |||||
* | Fix exp in non-default rounding modes (bug 3976). | Joseph Myers | 2012-03-02 | 1 | -14/+24 |
| | |||||
* | Improve erfc accuracy. | Joseph Myers | 2012-03-01 | 2 | -2/+3 |
| | |||||
* | 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 sysdeps/ieee754/dbl-64/k_tan.c with empty file | Andreas Schwab | 2012-02-26 | 1 | -136/+1 |
| | |||||
* | Fix nearbyintf rounding. | Joseph Myers | 2012-02-22 | 1 | -12/+0 |
| | |||||
* | Fix rintf rounding. | Joseph Myers | 2012-02-22 | 1 | -12/+0 |
| | |||||
* | Use non-signaling floating-point comparisons in math functions. | Aurelien Jarno | 2012-02-19 | 5 | -17/+17 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 222 | -574/+383 |
| | |||||
* | Remove __STDC__ conditionals from libm. | Joseph Myers | 2012-01-27 | 116 | -1016/+115 |
| | |||||
* | Optimized acosh for 64-bit platforms | Ulrich Drepper | 2012-01-11 | 1 | -0/+67 |
| | |||||
* | Optimize scalbln | Ulrich Drepper | 2012-01-11 | 4 | -76/+100 |
| | |||||
* | Optimize s_modf | Ulrich Drepper | 2012-01-10 | 4 | -50/+78 |
| | |||||
* | Optimize ldexp and scalbn | Ulrich Drepper | 2012-01-10 | 4 | -92/+48 |
| | |||||
* | Some branch prediction for log1p | Ulrich Drepper | 2012-01-09 | 1 | -3/+3 |
| | |||||
* | More fallout from supporting only ELF | Ulrich Drepper | 2012-01-08 | 1 | -7/+1 |
| | |||||
* | Remove pre-ISO C support | Ulrich Drepper | 2012-01-07 | 1 | -1/+1 |
| | | | | No more __const. | ||||
* | Remove non-ELF support | Ulrich Drepper | 2012-01-07 | 1 | -1/+1 |
| | |||||
* | 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 |
| |