aboutsummaryrefslogtreecommitdiff
path: root/math
AgeCommit message (Collapse)Author
2012-07-31Improve clog, clog10 handling of values with real or imaginary part slightly ↵Joseph Myers
above 1 (bug 13629).
2012-07-26Improve clog, clog10 handling of values with real or imaginary part 1 (bug ↵Joseph Myers
13629).
2012-07-25Set up errno properly for yn.Marek Polacek
2012-07-22Add missing includes.Thomas Schwinge
Follow-up to commits 38de94a5efbc3de186d6f287d666f74e5b4c8247, 76da7265320010c7a273ed99f53938c0f32d5fad.
2012-07-12Fix ynl return value with LDBL_MIN.Marek Polacek
2012-07-09Fix clog, clog10 spurious underflow exceptions (bug 14337).Joseph Myers
2012-07-06Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers
2012-07-06Fix expm1 spurious underflow exceptions (bug 6778).Joseph Myers
2012-07-05Fix csqrt underflow (bugs 14157, 14331).Joseph Myers
2012-07-04Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Joseph Myers
2012-07-03Fix float range reduction problems (bug 14283).Joseph Myers
2012-07-03Add cosh tests for bug 14273.Joseph Myers
2012-06-15Fix pow (0.0, -Inf) (bug 14241).Joseph Myers
2012-06-14Allow more spurious underflow exceptions from csqrt and Bessel functions.Joseph Myers
2012-06-01Fix fmod for subnormals (bug 14048).Joseph Myers
2012-05-31Use more decimal places for long double constants in math.h.Joseph Myers
2012-05-26Fix fma test for underflow.Marek Polacek
2012-05-25Fix acosf underflow (bug 14153).Joseph Myers
2012-05-24Add tests for underflow exception bugs 10846, 14036.Joseph Myers
2012-05-24Don't include exceptions in libm-test-ulps test names.Joseph Myers
2012-05-24Test underflow exceptions in libm-test.inc.Joseph Myers
2012-05-19Fix ccos, csin, ccosh, csinh overflows (bug 14123).Joseph Myers
2012-05-17math: support platforms with limited FP rounding or exception supportChris Metcalf
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 McGrath
2012-05-10Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella
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 Myers
2012-05-06Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers
2012-05-06Fix libm-test.inc ulps calculation for subnormals (bug 14064).Joseph Myers
2012-05-05Disable one hypot test for inline double testing.Joseph Myers
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers
2012-05-02Use -frounding-math for math testsuiteAndreas Jaeger
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 Myers
2012-04-30Fix x86 acos near 1 (bug 13942).Joseph Myers
2012-04-30Fix acos (-1) in round-downwards mode on x86 (bug 14034).Joseph Myers
2012-04-30Fix exp10 spurious overflows (bug 13924).Joseph Myers
2012-04-28Don't use long double *_finite functions if no long double mathAndreas Schwab
2012-04-27Remove spurious '.' in math/libm-test.inc comment.Ryan S. Arnold
2012-04-27New test to expose erroneous negative sign on logb(1) (bug 887).Ryan S. Arnold
2012-04-27Fix fenv.h fallback returns (bug 14027).Joseph Myers
2012-04-24Correct powerpc64 s_floorl edge cases (bug 13886).Adhemerval Zanella
[BZ #13886] Remove powerpc64/fpu/s_floorl. Use fully correct ldbl-128bim/s_floorl.c.
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella
[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 Myers
2012-04-09Fix ctan, ctanh overflow (bug 11521).Joseph Myers
2012-04-09Fix missing overflow exceptions from pow (bug 13873).Joseph Myers
2012-04-09Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers
2012-04-08Do not allow overflow exception on exp underflow test (bug 13705).Joseph Myers
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers
2012-03-28Avoid overflows from long double functions using __kernel_standard.Joseph Myers
2012-03-22Fix cexp overflow (bug 13892).Joseph Myers
2012-03-22Fix exp2l inaccuracy (bug 13824).Joseph Myers