aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
AgeCommit message (Collapse)Author
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella
[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.
2012-04-09Fix missing overflow exceptions from pow (bug 13873).Joseph Myers
2012-04-08Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers
2012-03-28Avoid overflows from long double functions using __kernel_standard.Joseph Myers
2012-03-26Fix undue underflow in ldbl-128ibm version of explAndreas Schwab
2012-03-22Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.Joseph Myers
2012-03-21Fix missing overflow/underflow exception in ldbl-128ibm version of powlAndreas Schwab
2012-03-21Disable use of FMA instructions in branredAndreas Schwab
2012-03-21Fix pow of zero and infinity to large powers.Joseph Myers
2012-03-19Fix atan2 spurious exceptions (bug 11451).Joseph Myers
2012-03-19Create and use libc_feupdateenv_test.Richard Henderson
We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept.
2012-03-19Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.Richard Henderson
2012-03-19Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson
For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header.
2012-03-16Make lround the alias of llround for wordsize-64H.J. Lu
2012-03-16Fix tan, tanl for large inputs.Joseph Myers
2012-03-16Include program generating __sincosl_table in comment.Joseph Myers
2012-03-16Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers
2012-03-14Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bitAndreas Jaeger
so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision)
2012-03-13Fix hypotf overflow/underflow by using double precision instead of scaling.David S. Miller
[BZ #13840] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use double-precision for the calculation instead of scaling.
2012-03-13Clean up dbl-64 rint, nearbyint.Joseph Myers
2012-03-13Fix generic ldbl-128 expm1l just like x86-64 and i386 variants were.David S. Miller
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for large parameters.
2012-03-09Use <> for math.h and math_private.h everywhere.Richard Henderson
Entire tree edited via find | grep | sed.
2012-03-09Use target-specific math_private.h in math_ldbl_opt.h.Richard Henderson
2012-03-06Fix up long double fphex.Marek Polacek
2012-03-05Fix loss of precision in cosh and sinh for IBM long doubleAndreas Schwab
2012-03-05Fix pow in non-default rounding modes (bug 3976).Joseph Myers
2012-03-02Fix sin, cos, tan in non-default rounding modes (bug 3976).Joseph Myers
2012-03-02Fix scalbn, scalbln integer overflow.Joseph Myers
2012-03-02Fix exp in non-default rounding modes (bug 3976).Joseph Myers
2012-03-01Improve erfc accuracy.Joseph Myers
2012-02-27Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.David S. Miller
* 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.
2012-02-26Replace sysdeps/ieee754/dbl-64/k_tan.c with empty fileAndreas Schwab
2012-02-22Fix nearbyintf rounding.Joseph Myers
2012-02-22Fix rintf rounding.Joseph Myers
2012-02-19Use non-signaling floating-point comparisons in math functions.Aurelien Jarno
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-27Remove __STDC__ conditionals from libm.Joseph Myers
2012-01-11Optimized acosh for 64-bit platformsUlrich Drepper
2012-01-11Optimize scalblnUlrich Drepper
2012-01-10Optimize s_modfUlrich Drepper
2012-01-10Optimize ldexp and scalbnUlrich Drepper
2012-01-09Some branch prediction for log1pUlrich Drepper
2012-01-08More fallout from supporting only ELFUlrich Drepper
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper
2011-11-12Avoid warnings about unused variable in 96-bit j0l and j1lUlrich Drepper
2011-11-12Avoid warnings about unused variables in 96-bit hypotlUlrich Drepper
2011-11-11Remove unused variablesMarek Polacek
2011-10-29Fix accuracy problem in generic sinUlrich Drepper