aboutsummaryrefslogtreecommitdiff
path: root/math
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella5-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.
2012-04-09Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).Joseph Myers1-6/+3
2012-04-09Fix ctan, ctanh overflow (bug 11521).Joseph Myers7-70/+252
2012-04-09Fix missing overflow exceptions from pow (bug 13873).Joseph Myers1-10/+5
2012-04-09Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers1-0/+26
2012-04-08Do not allow overflow exception on exp underflow test (bug 13705).Joseph Myers1-2/+1
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers1-0/+253
2012-03-28Avoid overflows from long double functions using __kernel_standard.Joseph Myers24-60/+94
2012-03-22Fix cexp overflow (bug 13892).Joseph Myers4-24/+98
2012-03-22Fix exp2l inaccuracy (bug 13824).Joseph Myers2-3/+56
2012-03-21Remove inaccurate x86 cexp implementations (bug 13883).Joseph Myers1-0/+15
2012-03-21Fix missing exp2 overflow exception (bug 13871).Joseph Myers4-30/+16
2012-03-21Fix pow of zero and infinity to large powers.Joseph Myers1-0/+207
2012-03-20Test for overflow exceptions in libm-test.inc.Joseph Myers2-30/+43
2012-03-19Fix clog overflow/underflow (bug 13629).Joseph Myers7-22/+180
2012-03-19Fix atan2 spurious exceptions (bug 11451).Joseph Myers1-0/+2
2012-03-16Disable Bessel function TLOSS errors in POSIX mode.Joseph Myers10-19/+48
2012-03-16Fix tan, tanl for large inputs.Joseph Myers1-3/+8
2012-03-16Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers1-16/+27
2012-03-15Use 40 digits in testsAndreas Jaeger1-8/+9
2012-03-15* sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses theAndreas Jaeger1-3/+10
ieee754/flt-32 implementation for tan. * math/libm-test.inc (tan_test): Add tests for large input. * sysdeps/i386/fpu/libm-test-ulps: Update.
2012-03-15 [BZ #13852]Andreas Jaeger1-6/+18
* sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the ieee754/flt-32 implementation. * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise. * sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_sincosf.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * math/libm-test.inc (cos_test): Enable some large input tests for float as well (sin_test): Likewise. (sincos_test): Likewise. * sysdeps/i386/fpu/libm-test-ulps: Update.
2012-03-15 [BZ #13658]Andreas Jaeger1-0/+6
* math/libm-test.inc (cos_test): Add more test cases. (sin_test): Likewise. (sincos_test): Likewise.
2012-03-15 [BZ #13837]Andreas Jaeger1-0/+3
* math/libm-test.inc (cos_test): Add a test case for large input value. (sin_test): Likewise. (sincos_test): Likewise.
2012-03-15Cleanup formatting.Andreas Jaeger1-1/+0
2012-03-14Merge branch 'master' into bug13658-branchAndreas Jaeger12-423/+251
2012-03-14Fix csqrt overflow/underflow (bug 13841).Joseph Myers4-6/+90
2012-03-14Add tests for hypot overflow/underflow.Joseph Myers1-0/+13
2012-03-09Move math/math_private.h to sysdeps/generic/math_private.h.Richard Henderson1-392/+0
This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
2012-03-08Add further testsAndreas Jaeger1-0/+2
2012-03-07Fix signs of zeros from casinh, cacosh etc. (bug 10716).Joseph Myers7-17/+148
2012-03-07 [BZ #13658]Andreas Jaeger1-0/+2
* sysdeps/x86_64/fpu/s_sincos.S: Delete. * math/libm-test.inc (sincos_test): Add test for large input.
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-8/+0
2012-03-05Fix pow in non-default rounding modes (bug 3976).Joseph Myers1-0/+109
2012-03-05Test cosh, sinh in non-default rounding modes (bug 3976).Joseph Myers1-0/+225
2012-03-03Remove oldish __GNUC_PREREQ.Marek Polacek1-6/+0
2012-03-02Fix sin, cos, tan in non-default rounding modes (bug 3976).Joseph Myers1-0/+421
2012-03-02Fix scalbn, scalbln integer overflow.Joseph Myers1-0/+38
2012-03-02Fix exp in non-default rounding modes (bug 3976).Joseph Myers1-0/+112
2012-03-01Improve erfc accuracy.Joseph Myers1-0/+6
2012-02-29Add test for bug 5794 (incorrect expm1 overflow).Joseph Myers1-0/+4
2012-02-29Move misplaced llround test and add lround test from bug 2561.Joseph Myers1-1/+2
2012-02-22Fix nearbyintf rounding.Joseph Myers1-0/+23
2012-02-22Fix rintf rounding.Joseph Myers1-0/+80
2012-02-19Use non-signaling floating-point comparisons in math functions.Aurelien Jarno35-75/+101
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert188-564/+376
2012-02-07Add tst-CMPLX2 test.Marek Polacek2-1/+150
2012-02-07Fix loss of precision in jn testsAndreas Schwab1-9/+9
2012-02-03Include <stdio.h> in math/tst-CMPLX.c.Joseph Myers1-0/+1
2012-01-28Use -msse2avx option for x86-64 libm functionsUlrich Drepper1-8/+0