Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix sign of inexact zero return from fma (bug 14645). | Joseph Myers | 2012-10-01 | 1 | -0/+44 |
| | |||||
* | Fix sign of exact zero return from fma (bug 14638). | Joseph Myers | 2012-09-29 | 1 | -0/+174 |
| | |||||
* | Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629). | Joseph Myers | 2012-09-25 | 8 | -1/+199 |
| | |||||
* | Fix wrong ussage of sincos for subnormal arguments | Liubov Dmitrieva | 2012-09-25 | 18 | -30/+274 |
| | |||||
* | Add optimized sinf and cosf routines for x86 and x86-64 | Liubov Dmitrieva | 2012-09-03 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | Improve clog, clog10 handling of values with real or imaginary part slightly ↵ | Joseph Myers | 2012-07-31 | 7 | -0/+78 |
| | | | | above 1 (bug 13629). | ||||
* | Improve clog, clog10 handling of values with real or imaginary part 1 (bug ↵ | Joseph Myers | 2012-07-26 | 7 | -54/+191 |
| | | | | 13629). | ||||
* | Set up errno properly for yn. | Marek Polacek | 2012-07-25 | 1 | -0/+4 |
| | |||||
* | Add missing includes. | Thomas Schwinge | 2012-07-22 | 3 | -2/+2 |
| | | | | | Follow-up to commits 38de94a5efbc3de186d6f287d666f74e5b4c8247, 76da7265320010c7a273ed99f53938c0f32d5fad. | ||||
* | Fix ynl return value with LDBL_MIN. | Marek Polacek | 2012-07-12 | 1 | -1/+4 |
| | |||||
* | Fix clog, clog10 spurious underflow exceptions (bug 14337). | Joseph Myers | 2012-07-09 | 7 | -54/+174 |
| | |||||
* | Fix tanf underflow close to pi/4 (bug 14154). | Joseph Myers | 2012-07-06 | 1 | -2/+39 |
| | |||||
* | Fix expm1 spurious underflow exceptions (bug 6778). | Joseph Myers | 2012-07-06 | 1 | -2/+22 |
| | |||||
* | Fix csqrt underflow (bugs 14157, 14331). | Joseph Myers | 2012-07-05 | 4 | -24/+93 |
| | |||||
* | Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328). | Joseph Myers | 2012-07-04 | 7 | -18/+362 |
| | |||||
* | Fix float range reduction problems (bug 14283). | Joseph Myers | 2012-07-03 | 1 | -0/+4 |
| | |||||
* | Add cosh tests for bug 14273. | Joseph Myers | 2012-07-03 | 1 | -0/+5 |
| | |||||
* | Fix pow (0.0, -Inf) (bug 14241). | Joseph Myers | 2012-06-15 | 1 | -0/+2 |
| | |||||
* | Allow more spurious underflow exceptions from csqrt and Bessel functions. | Joseph Myers | 2012-06-14 | 1 | -5/+9 |
| | |||||
* | Fix fmod for subnormals (bug 14048). | Joseph Myers | 2012-06-01 | 1 | -0/+8 |
| | |||||
* | Use more decimal places for long double constants in math.h. | Joseph Myers | 2012-05-31 | 1 | -13/+13 |
| | |||||
* | Fix fma test for underflow. | Marek Polacek | 2012-05-26 | 1 | -1/+2 |
| | |||||
* | Fix acosf underflow (bug 14153). | Joseph Myers | 2012-05-25 | 1 | -2/+1 |
| | |||||
* | Add tests for underflow exception bugs 10846, 14036. | Joseph Myers | 2012-05-24 | 1 | -0/+3 |
| | |||||
* | Don't include exceptions in libm-test-ulps test names. | Joseph Myers | 2012-05-24 | 1 | -23/+0 |
| | |||||
* | Test underflow exceptions in libm-test.inc. | Joseph Myers | 2012-05-24 | 2 | -131/+178 |
| | |||||
* | Fix ccos, csin, ccosh, csinh overflows (bug 14123). | Joseph Myers | 2012-05-19 | 10 | -63/+448 |
| | |||||
* | math: support platforms with limited FP rounding or exception support | Chris Metcalf | 2012-05-17 | 5 | -0/+40 |
| | | | | | | | | | | | For some tests, just claim that fetestexcept() always returns true, so the rest of the test can be compiled. For libm-test, provide known bogus values for unsupported rounding modes, so fesetround() will return failure. Elsewhere, just add some #ifdefs to avoid code that uses particular FP exceptions if the exceptions aren't supported. | ||||
* | Add a missing #include. | Roland McGrath | 2012-05-10 | 1 | -0/+1 |
| | |||||
* | Fix for logb/logbf/logbl (bugs 13954/13955/13956) | Adhemerval Zanella | 2012-05-10 | 1 | -0/+16 |
| | | | | | | | | 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 x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923). | Joseph Myers | 2012-05-07 | 1 | -2/+7 |
| | |||||
* | Fix exp10 inaccuracy and exceptions (bugs 13884, 13914). | Joseph Myers | 2012-05-06 | 1 | -3/+8 |
| | |||||
* | Fix libm-test.inc ulps calculation for subnormals (bug 14064). | Joseph Myers | 2012-05-06 | 1 | -2/+3 |
| | |||||
* | Disable one hypot test for inline double testing. | Joseph Myers | 2012-05-05 | 1 | -1/+1 |
| | |||||
* | Fix missing exceptions from exp (bugs 13787, 13922, 14036). | Joseph Myers | 2012-05-05 | 1 | -6/+7 |
| | |||||
* | Use -frounding-math for math testsuite | Andreas Jaeger | 2012-05-02 | 1 | -6/+8 |
| | | | | | We should tell GCC that we manipulate the rounding mode and therefore add -frounding-math to these files that call fesetround. | ||||
* | Fix nexttoward bugs (bugs 2550, 2570). | Joseph Myers | 2012-05-01 | 2 | -8/+69 |
| | |||||
* | Fix x86 acos near 1 (bug 13942). | Joseph Myers | 2012-04-30 | 1 | -0/+24 |
| | |||||
* | Fix acos (-1) in round-downwards mode on x86 (bug 14034). | Joseph Myers | 2012-04-30 | 1 | -0/+248 |
| | |||||
* | Fix exp10 spurious overflows (bug 13924). | Joseph Myers | 2012-04-30 | 4 | -16/+26 |
| | |||||
* | Don't use long double *_finite functions if no long double math | Andreas Schwab | 2012-04-28 | 1 | -0/+119 |
| | |||||
* | Remove spurious '.' in math/libm-test.inc comment. | Ryan S. Arnold | 2012-04-27 | 1 | -1/+1 |
| | |||||
* | New test to expose erroneous negative sign on logb(1) (bug 887). | Ryan S. Arnold | 2012-04-27 | 1 | -0/+35 |
| | |||||
* | Fix fenv.h fallback returns (bug 14027). | Joseph Myers | 2012-04-27 | 3 | -9/+9 |
| | |||||
* | Correct powerpc64 s_floorl edge cases (bug 13886). | Adhemerval Zanella | 2012-04-24 | 1 | -0/+3 |
| | | | | | [BZ #13886] Remove powerpc64/fpu/s_floorl. Use fully correct ldbl-128bim/s_floorl.c. | ||||
* | Fix ilogb exception and errno (bug 6794) | Adhemerval Zanella | 2012-04-17 | 5 | -8/+136 |
| | | | | | | | | | | | | | | | | | | | | [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 spurious overflow exceptions from x86/x86_64 powl (bug 13872). | Joseph Myers | 2012-04-09 | 1 | -6/+3 |
| | |||||
* | Fix ctan, ctanh overflow (bug 11521). | Joseph Myers | 2012-04-09 | 7 | -70/+252 |
| | |||||
* | Fix missing overflow exceptions from pow (bug 13873). | Joseph Myers | 2012-04-09 | 1 | -10/+5 |
| | |||||
* | Fix x86 pow inaccuracy for large integer exponents (bug 706). | Joseph Myers | 2012-04-09 | 1 | -0/+26 |
| |