aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
AgeCommit message (Collapse)Author
2012-10-01Fix sign of inexact zero return from fma (bug 14645).Joseph Myers
2012-09-29Fix sign of exact zero return from fma (bug 14638).Joseph Myers
2012-09-27Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let buildsSteve Ellcey
use bits/huge_vall.h instead. There is no longer any need for the special huge_vall.h file.
2012-09-25Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers
2012-09-25Add optimized sincosf for SSE2 for x86 and x86-64Liubov Dmitrieva
2012-09-03Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva
* sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): Add s_sinf-sse2, s_conf-sse2. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file. * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros for using routine as __sinf_ia32. Use macro for function declaration and weak_alias. * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros for using routine as __cosf_ia32. Use macro for function declaration and weak_alias. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright. * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright. * sysdeps/x86_64/fpu/s_sinf.S: New file. * sysdeps/x86_64/fpu/s_cosf.S: New file. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * math/libm-test.inc (cos_test): Add more test cases. (sin_test): Likewise. (sincos_test): Likewise.
2012-08-17Quash warning in s_sincosl.Marek Polacek
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath
2012-07-25Set up errno properly for yn.Marek Polacek
2012-07-12Fix ynl return value with LDBL_MIN.Marek Polacek
2012-07-11Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Adhemerval Zanella
IBM long double fixes and POWER ulps update.
2012-07-06Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers
2012-07-03Fix float range reduction problems (bug 14283).Joseph Myers
2012-06-21Fix wordsize-64 cosh regression (bug 14273).Joseph Myers
2012-06-15Fix pow (0.0, -Inf) (bug 14241).Joseph Myers
2012-06-05Fix for wrong ldbl128-ibm fmodl commitAdhemerval Zanella
2012-06-05Fix spurious undeflow for ldbl-128ibm erflAdhemerval Zanella
For values higher than 25.6283 erflc underflow, so adjust erfl to return a constant value based argument sign.
2012-06-05Fix ldbl128ibm fmodl for subnormals.Adhemerval Zanella
2012-06-01Fix fmod for subnormals (bug 14048).Joseph Myers
2012-06-01Ensure additions are not scheduled after fetestexcept in fmaf and fmal.Joseph Myers
2012-06-01Add a barrier in the double fma implementation.Aurelien Jarno
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