aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
AgeCommit message (Collapse)Author
2012-05-26Optimize handling of denormals in logb/logbf/logblAndreas Schwab
2012-05-25Fix acosf underflow (bug 14153).Joseph Myers
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab
2012-05-16Track dependencies for .oS-only objectsAndreas Schwab
2012-05-15Log2 and log10 for wordsize-64.Adhemerval Zanella
This patch also fixes indentation on default dbl-64 code.
2012-05-14Use __builtin_clzll on int64 in __logbH.J. Lu
2012-05-10Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella
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.
2012-05-06Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers
2012-05-04Fix for ldbl-128ibm acosl/asinl inaccuraciesAdhemerval Zanella
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix long double comparison inaccuracies. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): * Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-05-02Fix nexttoward bugsAdhemerval Zanella
[BZ #2550] [BZ #2570] * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point comparisons to determine direction to adjust input.
2012-05-01Fix nexttoward bugs (bugs 2550, 2570).Joseph Myers
2012-04-28Fix formatting of denormal IBM long double numbersAndreas Schwab
2012-04-26Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).Adhemerval Zanella
2012-04-18Finish ilogb changesAndreas Jaeger
[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.
2012-04-18Remove useless __ilogb*_finite aliasesAndreas Schwab
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