about summary refs log tree commit diff
path: root/math
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing #include.Roland McGrath2012-05-101-0/+1
|
* Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella2012-05-101-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 Myers2012-05-071-2/+7
|
* Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers2012-05-061-3/+8
|
* Fix libm-test.inc ulps calculation for subnormals (bug 14064).Joseph Myers2012-05-061-2/+3
|
* Disable one hypot test for inline double testing.Joseph Myers2012-05-051-1/+1
|
* Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers2012-05-051-6/+7
|
* Use -frounding-math for math testsuiteAndreas Jaeger2012-05-021-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 Myers2012-05-012-8/+69
|
* Fix x86 acos near 1 (bug 13942).Joseph Myers2012-04-301-0/+24
|
* Fix acos (-1) in round-downwards mode on x86 (bug 14034).Joseph Myers2012-04-301-0/+248
|
* Fix exp10 spurious overflows (bug 13924).Joseph Myers2012-04-304-16/+26
|
* Don't use long double *_finite functions if no long double mathAndreas Schwab2012-04-281-0/+119
|
* Remove spurious '.' in math/libm-test.inc comment.Ryan S. Arnold2012-04-271-1/+1
|
* New test to expose erroneous negative sign on logb(1) (bug 887).Ryan S. Arnold2012-04-271-0/+35
|
* Fix fenv.h fallback returns (bug 14027).Joseph Myers2012-04-273-9/+9
|
* Correct powerpc64 s_floorl edge cases (bug 13886).Adhemerval Zanella2012-04-241-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 Zanella2012-04-175-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 Myers2012-04-091-6/+3
|
* Fix ctan, ctanh overflow (bug 11521).Joseph Myers2012-04-097-70/+252
|
* Fix missing overflow exceptions from pow (bug 13873).Joseph Myers2012-04-091-10/+5
|
* Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers2012-04-091-0/+26
|
* Do not allow overflow exception on exp underflow test (bug 13705).Joseph Myers2012-04-081-2/+1
|
* Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers2012-03-281-0/+253
|
* Avoid overflows from long double functions using __kernel_standard.Joseph Myers2012-03-2824-60/+94
|
* Fix cexp overflow (bug 13892).Joseph Myers2012-03-224-24/+98
|
* Fix exp2l inaccuracy (bug 13824).Joseph Myers2012-03-222-3/+56
|
* Remove inaccurate x86 cexp implementations (bug 13883).Joseph Myers2012-03-211-0/+15
|
* Fix missing exp2 overflow exception (bug 13871).Joseph Myers2012-03-214-30/+16
|
* Fix pow of zero and infinity to large powers.Joseph Myers2012-03-211-0/+207
|
* Test for overflow exceptions in libm-test.inc.Joseph Myers2012-03-202-30/+43
|
* Fix clog overflow/underflow (bug 13629).Joseph Myers2012-03-197-22/+180
|
* Fix atan2 spurious exceptions (bug 11451).Joseph Myers2012-03-191-0/+2
|
* Disable Bessel function TLOSS errors in POSIX mode.Joseph Myers2012-03-1610-19/+48
|
* Fix tan, tanl for large inputs.Joseph Myers2012-03-161-3/+8
|
* Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers2012-03-161-16/+27
|
* Use 40 digits in testsAndreas Jaeger2012-03-151-8/+9
|
* * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses theAndreas Jaeger2012-03-151-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.
* [BZ #13852]Andreas Jaeger2012-03-151-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.
* [BZ #13658]Andreas Jaeger2012-03-151-0/+6
| | | | | | * math/libm-test.inc (cos_test): Add more test cases. (sin_test): Likewise. (sincos_test): Likewise.
* [BZ #13837]Andreas Jaeger2012-03-151-0/+3
| | | | | | | * math/libm-test.inc (cos_test): Add a test case for large input value. (sin_test): Likewise. (sincos_test): Likewise.
* Cleanup formatting.Andreas Jaeger2012-03-151-1/+0
|
* Merge branch 'master' into bug13658-branchAndreas Jaeger2012-03-1412-423/+251
|\
| * Fix csqrt overflow/underflow (bug 13841).Joseph Myers2012-03-144-6/+90
| |
| * Add tests for hypot overflow/underflow.Joseph Myers2012-03-141-0/+13
| |
| * Move math/math_private.h to sysdeps/generic/math_private.h.Richard Henderson2012-03-091-392/+0
| | | | | | | | This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
| * Fix signs of zeros from casinh, cacosh etc. (bug 10716).Joseph Myers2012-03-077-17/+148
| |
| * Remove distribute variable from MakefilesUlrich Drepper2012-03-071-8/+0
| |
* | Add further testsAndreas Jaeger2012-03-081-0/+2
| |
* | [BZ #13658]Andreas Jaeger2012-03-071-0/+2
|/ | | | | | * sysdeps/x86_64/fpu/s_sincos.S: Delete. * math/libm-test.inc (sincos_test): Add test for large input.