aboutsummaryrefslogtreecommitdiff
path: root/math
AgeCommit message (Collapse)AuthorFilesLines
2012-10-31Fix ldbl-128ibm atan2l for x near 1.Joseph Myers1-0/+3
2012-10-31Fix fma underflow exceptions in after-rounding edge cases.Joseph Myers1-0/+102
2012-10-30Fix fma missing underflows and bad results for some subnormal results (bugs ↵Joseph Myers1-4/+61
14152, 14783).
2012-10-18Comment on slow compilation of math/test-tgmath2.cMarkus Trippelsdorf1-0/+3
The math/test-tgmath2.c testcase uses very long lines (>3 million), so it may take a while to compile it. See: http://llvm.org/bugs/show_bug.cgi?id=14106 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54402
2012-10-17Don't call feclearexcept in gamma function tests.Joseph Myers1-3/+0
2012-10-09Make libm-test.inc test comparison macros.Joseph Myers2-2/+162
2012-10-08Improve libm test coverage of classification macros / functions.Joseph Myers2-5/+58
2012-10-05Improve libm-test.inc comment.Joseph Myers1-8/+15
2012-10-01Fix sign of inexact zero return from fma (bug 14645).Joseph Myers1-0/+44
2012-09-29Fix sign of exact zero return from fma (bug 14638).Joseph Myers1-0/+174
2012-09-25Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers8-1/+199
2012-09-25Fix wrong ussage of sincos for subnormal argumentsLiubov Dmitrieva18-30/+274
2012-09-03Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva1-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.
2012-07-31Improve clog, clog10 handling of values with real or imaginary part slightly ↵Joseph Myers7-0/+78
above 1 (bug 13629).
2012-07-26Improve clog, clog10 handling of values with real or imaginary part 1 (bug ↵Joseph Myers7-54/+191
13629).
2012-07-25Set up errno properly for yn.Marek Polacek1-0/+4
2012-07-22Add missing includes.Thomas Schwinge3-2/+2
Follow-up to commits 38de94a5efbc3de186d6f287d666f74e5b4c8247, 76da7265320010c7a273ed99f53938c0f32d5fad.
2012-07-12Fix ynl return value with LDBL_MIN.Marek Polacek1-1/+4
2012-07-09Fix clog, clog10 spurious underflow exceptions (bug 14337).Joseph Myers7-54/+174
2012-07-06Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers1-2/+39
2012-07-06Fix expm1 spurious underflow exceptions (bug 6778).Joseph Myers1-2/+22
2012-07-05Fix csqrt underflow (bugs 14157, 14331).Joseph Myers4-24/+93
2012-07-04Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Joseph Myers7-18/+362
2012-07-03Fix float range reduction problems (bug 14283).Joseph Myers1-0/+4
2012-07-03Add cosh tests for bug 14273.Joseph Myers1-0/+5
2012-06-15Fix pow (0.0, -Inf) (bug 14241).Joseph Myers1-0/+2
2012-06-14Allow more spurious underflow exceptions from csqrt and Bessel functions.Joseph Myers1-5/+9
2012-06-01Fix fmod for subnormals (bug 14048).Joseph Myers1-0/+8
2012-05-31Use more decimal places for long double constants in math.h.Joseph Myers1-13/+13
2012-05-26Fix fma test for underflow.Marek Polacek1-1/+2
2012-05-25Fix acosf underflow (bug 14153).Joseph Myers1-2/+1
2012-05-24Add tests for underflow exception bugs 10846, 14036.Joseph Myers1-0/+3
2012-05-24Don't include exceptions in libm-test-ulps test names.Joseph Myers1-23/+0
2012-05-24Test underflow exceptions in libm-test.inc.Joseph Myers2-131/+178
2012-05-19Fix ccos, csin, ccosh, csinh overflows (bug 14123).Joseph Myers10-63/+448
2012-05-17math: support platforms with limited FP rounding or exception supportChris Metcalf5-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.
2012-05-10Add a missing #include.Roland McGrath1-0/+1
2012-05-10Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella1-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.
2012-05-07Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).Joseph Myers1-2/+7
2012-05-06Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers1-3/+8
2012-05-06Fix libm-test.inc ulps calculation for subnormals (bug 14064).Joseph Myers1-2/+3
2012-05-05Disable one hypot test for inline double testing.Joseph Myers1-1/+1
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers1-6/+7
2012-05-02Use -frounding-math for math testsuiteAndreas Jaeger1-6/+8
We should tell GCC that we manipulate the rounding mode and therefore add -frounding-math to these files that call fesetround.
2012-05-01Fix nexttoward bugs (bugs 2550, 2570).Joseph Myers2-8/+69
2012-04-30Fix x86 acos near 1 (bug 13942).Joseph Myers1-0/+24
2012-04-30Fix acos (-1) in round-downwards mode on x86 (bug 14034).Joseph Myers1-0/+248
2012-04-30Fix exp10 spurious overflows (bug 13924).Joseph Myers4-16/+26
2012-04-28Don't use long double *_finite functions if no long double mathAndreas Schwab1-0/+119
2012-04-27Remove spurious '.' in math/libm-test.inc comment.Ryan S. Arnold1-1/+1