aboutsummaryrefslogtreecommitdiff
path: root/math
AgeCommit message (Collapse)AuthorFilesLines
2013-03-15Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge5-600/+600
2013-03-15Enable tests for x86_64, too, which currently are enabled only for x86.Thomas Schwinge2-2/+2
2013-03-15Fix copy'n'pastos.Thomas Schwinge1-2/+2
2013-03-14Fix spurious underflow exceptions for Bessel functions for double (bug 14155).Joseph Myers1-4/+2
2013-02-19Fix some testsuite build warning fixes in libmSiddhesh Poyarekar3-19/+22
2013-02-15Remove bounded-pointers build system support.Joseph Myers1-3/+0
2013-02-14Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers1-3/+2
2013-01-31Fix casinh spurious underflows away from [-i,i] (bug 15062).Joseph Myers4-0/+147
2013-01-17Fix cacos real-part inaccuracy for result real part near 0 (bug 15023).Joseph Myers11-128/+366
2013-01-11Add 64-bit VIS3 optimized GMP routines for sparc.David S. Miller1-1/+2
* math/Makefile: Recognize gmp-sysdep_routines. * sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines to sysdeps. * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/add_n.S: New file. * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file. * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file. * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file. * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file. * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers1-0/+2
2013-01-10Revert "CFLAGS-test-tgmath2.c"Andreas Schwab1-1/+1
This reverts commit 3167bfc62bb38e3057f7694566b5bb157236a5a8.
2013-01-10CFLAGS-test-tgmath2.cAndreas Schwab1-1/+1
2013-01-07Fix casinh, casin overflow (bug 14996).Joseph Myers4-20/+85
2013-01-04Fix casinh, casin inaccuracy from cancellation (bug 14994).Joseph Myers4-18/+88
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers192-195/+192
2012-12-30math: use existing nonnull attribute defineMike Frysinger1-2/+1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-28Fix powl inaccuracy for x86_64 and x86 (bug 13881).Joseph Myers1-4/+31
2012-11-22Disable some fma tests for ldbl-128ibm.Joseph Myers1-0/+6
2012-11-22Fix ldbl-128ibm atanl spurious underflows (bug 14871).Joseph Myers1-0/+8
2012-11-22Fix ldbl-128ibm hypotl internal underflows (bug 14869).Joseph Myers1-0/+3
2012-11-22Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).Joseph Myers1-0/+2
2012-11-22Mark some clog / clog10 underflows as expected for IBM long double.Joseph Myers1-4/+4
2012-11-19Fix spurious underflows in ldbl-128 atan implementation.David S. Miller1-0/+5
With help from Joseph Myers. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and very large arguments properly. * math/libm-test.inc (atan_test): New tests. (atan2_test): New tests. * sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-11-18Correct tinyness handling in long-double and float y0/y1.David S. Miller1-0/+24
With help from Joseph Myers. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness cutoff to 2**-13. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness cutoff to 2**-25. * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very small. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. * math/libm-test.inc (y0_test): New tests. (y1_test): New tests. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-11-15Fix buffer overflow in libm-test.inc check_complex()Marcus Shawcroft1-3/+9
2012-11-07Fix spurious underflows from pow with results close to 1 (bug 14811).Joseph Myers1-0/+29
2012-11-06Fix fma underflows with small x * y (bug 14793).Joseph Myers1-0/+128
2012-11-04Fix fma overflow results outside round-to-nearest mode (bug 14797).Joseph Myers1-0/+36
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge46-46/+0
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers2-0/+65
2012-11-02Make math.h FP_* macros usable in #if (bug 3439).Joseph Myers1-10/+15
2012-11-01Fix fma (a, b, c) for small a * b (bugs 14784, 14785).Joseph Myers1-0/+256
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.