about summary refs log tree commit diff
path: root/sysdeps/ieee754/flt-32
Commit message (Collapse)AuthorAgeFilesLines
* Fix lgammaf spurious underflow (bug 15427).Joseph Myers2013-09-031-2/+2
|
* Fix spurious jnf underflows (bug 14155).Joseph Myers2013-09-021-2/+2
|
* Fix leading whitespaces.Ondrej Bilka2013-06-062-8/+8
|
* Remove trailing whitespace.Joseph Myers2013-06-0510-25/+25
|
* Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers2013-05-191-0/+2
|
* Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers2013-05-081-5/+129
|
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-021-0/+42
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0218-19/+18
|
* Correct tinyness handling in long-double and float y0/y1.David S. Miller2012-11-182-2/+2
| | | | | | | | | | | | | | | | | 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.
* Fix spurious underflows from pow with results close to 1 (bug 14811).Joseph Myers2012-11-071-0/+4
|
* Add optimized sincosf for SSE2 for x86 and x86-64Liubov Dmitrieva2012-09-251-1/+9
|
* Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva2012-09-032-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Set up errno properly for yn.Marek Polacek2012-07-251-0/+4
|
* Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers2012-07-061-0/+2
|
* Fix float range reduction problems (bug 14283).Joseph Myers2012-07-031-14/+23
|
* Optimize handling of denormals in logb/logbf/logblAndreas Schwab2012-05-261-2/+1
|
* Fix acosf underflow (bug 14153).Joseph Myers2012-05-251-1/+1
|
* Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella2012-05-101-14/+18
| | | | | | | | 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 missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers2012-05-051-16/+5
|
* Remove useless __ilogb*_finite aliasesAndreas Schwab2012-04-181-1/+0
|
* Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | [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.
* Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.Richard Henderson2012-03-192-70/+68
|
* Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson2012-03-191-0/+35
| | | | | | For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header.
* Fix hypotf overflow/underflow by using double precision instead of scaling.David S. Miller2012-03-131-52/+25
| | | | | | [BZ #13840] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use double-precision for the calculation instead of scaling.
* Use <> for math.h and math_private.h everywhere.Richard Henderson2012-03-0961-111/+111
| | | | Entire tree edited via find | grep | sed.
* Fix scalbn, scalbln integer overflow.Joseph Myers2012-03-022-6/+10
|
* Improve erfc accuracy.Joseph Myers2012-03-011-1/+1
|
* Fix nearbyintf rounding.Joseph Myers2012-02-221-12/+0
|
* Fix rintf rounding.Joseph Myers2012-02-221-12/+0
|
* Use non-signaling floating-point comparisons in math functions.Aurelien Jarno2012-02-192-7/+7
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0919-56/+38
|
* Remove __STDC__ conditionals from libm.Joseph Myers2012-01-2721-209/+23
|
* Optimize scalblnUlrich Drepper2012-01-111-25/+13
|
* Optimize s_modfUlrich Drepper2012-01-101-16/+4
|
* Optimize ldexp and scalbnUlrich Drepper2012-01-101-25/+13
|
* Fix uses of math_force_evalAndreas Schwab2011-10-262-3/+3
|
* Use math_force_eval in more placesUlrich Drepper2011-10-257-97/+65
|
* Optimization to some complex math functionsUlrich Drepper2011-10-221-1/+1
| | | | Also, change last reference to __sqrt into __sqrt to easily.
* Use new internal libc_fe* interfaces in more functionsUlrich Drepper2011-10-183-35/+17
|
* Use rounds{s,d} for x86 rint, ceil, floorUlrich Drepper2011-10-163-55/+26
|
* Optimize expUlrich Drepper2011-10-152-55/+42
| | | | Add __exp*_finite optimizations and rewrite some wrappers.
* Optimize libmUlrich Drepper2011-10-1222-749/+377
| | | | | libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized.
* Fix some nit warnings.Roland McGrath2011-10-081-1/+1
|
* Optimize use of isnan, isinf, finiteUlrich Drepper2011-10-083-1/+23
|
* Fix jn precisionPetr Baudis2011-09-091-1/+10
|
* Correct errno handling in expm1.Andreas Schwab2009-10-191-0/+1
|
* * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper2009-04-271-1/+5
| | | | | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
* * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper2009-04-261-2/+7
| | | | | | | | | | * sysdeps/i386/fpu/s_tanf.S: Likewise. * sysdeps/i386/fpu/s_tanl.S: Likewise. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. * sysdeps/x86_64/fpu/s_tanl.S: Likewise. * math/libm-test.inc: Add tests for errno after tan calls with ±Inf.
* * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper2009-04-262-4/+14
| | | | | | | | | | | | | | | | | * sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
* [BZ #3406]Ulrich Drepper2008-05-111-1/+1
| | | | | | | 2008-02-11 Joseph Myers <joseph@codesourcery.com> [BZ #3406] * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. * math/libm-test.inc (exp_test): Test 88.72269439697265625.