about summary refs log tree commit diff
path: root/sysdeps/ieee754
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-02196-201/+196
|
* Fix values in __mpexp_twomm1Siddhesh Poyarekar2013-01-021-8/+8
|
* Split mantissa calculation loop and add branch predictionSiddhesh Poyarekar2013-01-021-24/+43
|
* Add assert for potential access beyond array bounds in m1npSiddhesh Poyarekar2013-01-021-4/+17
| | | | | | | | | | | The mpexp code has an access into m1np: for (i=n-1; i>0; i--,n--) { if (m1np[i][p]+m2>0) break; } which could break for p >= 18 or i >= 7. Fortunately this code is never called due to the way the exp function is implemented since values having exponent less than -55 return 1.0. Make sure that if it gets called in future, it is trapped.
* Move more constants into static variablesSiddhesh Poyarekar2013-01-024-22/+8
| | | | Code cleanup.
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-0128-32/+28
|
* Favour normal numbersSiddhesh Poyarekar2012-12-311-4/+5
|
* Demystify the magic number 134217729.0Siddhesh Poyarekar2012-12-293-8/+10
| | | | | The number 134217729.0 gets used in various places in e_pow.c but there is no explanation of what that number is. Add that explanation.
* Remove unnecessary variable mptwoim1Siddhesh Poyarekar2012-12-282-27/+3
| | | | Code cleanup.
* Replace more constants with their valuesSiddhesh Poyarekar2012-12-285-97/+61
| | | | Code cleanup.
* Replace constants with preprocessor definesSiddhesh Poyarekar2012-12-285-120/+28
| | | | libm Code cleanup.
* Remove redundant __mpexp_nnSiddhesh Poyarekar2012-12-272-28/+2
| | | | It's an array that stores integral float values of the offset.
* Move mpone out to a global constSiddhesh Poyarekar2012-12-277-68/+11
| | | | Code cleanup.
* Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.Joseph Myers2012-12-051-0/+1
|
* Fix ldbl-128ibm "set but not used" warnings.Joseph Myers2012-12-045-5/+9
|
* Fix "conflicting types for built-in function" warnings from nldbl-*.c.Joseph Myers2012-12-041-0/+99
|
* Fix powl inaccuracy for ldbl-128ibm (bug 14914).Joseph Myers2012-12-041-7/+7
|
* Use hex float 64-bit values in ldbl-96 asinl (bug 14803).Joseph Myers2012-11-281-3/+6
|
* Fix ldbl-128ibm atanl spurious underflows (bug 14871).Joseph Myers2012-11-221-0/+16
|
* Fix sign of inexact zero results for ldbl-128ibm fmal.Joseph Myers2012-11-221-1/+7
|
* Fix ldbl-128ibm powl spurious underflows.Joseph Myers2012-11-221-1/+5
|
* Fix ldbl-128ibm hypotl internal underflows (bug 14869).Joseph Myers2012-11-221-1/+1
|
* Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).Joseph Myers2012-11-221-1/+1
|
* Fix expm1l spurious underflows for ldbl-128ibm.Joseph Myers2012-11-221-1/+1
|
* Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.Joseph Myers2012-11-202-2/+2
|
* Fix spurious underflows in ldbl-128 atan implementation.David S. Miller2012-11-191-0/+17
| | | | | | | | | | 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.
* Correct tinyness handling in long-double and float y0/y1.David S. Miller2012-11-184-2/+7
| | | | | | | | | | | | | | | | | 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 BZ #14811 for ldbl-128 too.David S. Miller2012-11-161-1/+5
| | | | | | | [BZ #14811] * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate nonzero exponents with absolute value below 0x1p-128 to +/- 0x1p-128.
* Don't generate underflow for very small values in log1pl.David S. Miller2012-11-161-0/+6
| | | | | * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is smaller than LDBL_EPSILON/2.0L, just return xm1.
* Fix spurious underflows from pow with results close to 1 (bug 14811).Joseph Myers2012-11-072-0/+8
|
* Fix fma underflows with small x * y (bug 14793).Joseph Myers2012-11-063-54/+81
|
* Fix fma overflow results outside round-to-nearest mode (bug 14797).Joseph Myers2012-11-043-12/+17
|
* Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers2012-11-034-8/+64
|
* Fix fma (a, b, c) for small a * b (bugs 14784, 14785).Joseph Myers2012-11-013-12/+98
|
* Fix ldbl-128ibm atan2l for x near 1.Joseph Myers2012-10-311-1/+2
|
* Fix fma underflow exceptions in after-rounding edge cases.Joseph Myers2012-10-313-0/+36
|
* Fix fma missing underflows and bad results for some subnormal results (bugs ↵Joseph Myers2012-10-303-42/+24
| | | | 14152, 14783).
* Add missing magic to GLIBC_PROVIDES.Roland McGrath2012-10-091-120/+0
|
* Fix sign of inexact zero return from fma (bug 14645).Joseph Myers2012-10-013-0/+15
|
* Fix sign of exact zero return from fma (bug 14638).Joseph Myers2012-09-296-2/+34
|
* Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let buildsSteve Ellcey2012-09-271-50/+0
| | | | | use bits/huge_vall.h instead. There is no longer any need for the special huge_vall.h file.
* Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers2012-09-256-0/+532
|
* 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.
* Quash warning in s_sincosl.Marek Polacek2012-08-171-2/+2
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-301-0/+2
|
* Set up errno properly for yn.Marek Polacek2012-07-255-0/+20
|
* Fix ynl return value with LDBL_MIN.Marek Polacek2012-07-121-1/+2
|
* Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Adhemerval Zanella2012-07-112-22/+50
| | | | IBM long double fixes and POWER ulps update.
* Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers2012-07-061-0/+2
|