Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use __sqr instead of __mul wherever possible | Siddhesh Poyarekar | 2013-02-14 | 3 | -4/+4 |
| | |||||
* | New __sqr function as a faster special case of __mul | Siddhesh Poyarekar | 2013-02-14 | 3 | -2/+94 |
| | |||||
* | Remove unnecessary factorial array | Siddhesh Poyarekar | 2013-02-13 | 1 | -10/+3 |
| | | | | kf is n! at the end of the loop, so storing the values is unnecessary. | ||||
* | Better exp polynomial | Siddhesh Poyarekar | 2013-02-13 | 1 | -23/+37 |
| | | | | The lesser the __mul calls, the better it is for performance. | ||||
* | Optimized mp multiplication | Siddhesh Poyarekar | 2013-02-13 | 1 | -8/+48 |
| | | | | Don't bother multiplying zeroes since that only wastes cycles. | ||||
* | Clean up add_magnitudes and sub_magnitudes | Siddhesh Poyarekar | 2013-02-13 | 1 | -52/+60 |
| | |||||
* | Remove lots of inline keywords. | Roland McGrath | 2013-02-07 | 1 | -1/+1 |
| | |||||
* | Simplify calculation of 2^-m in __mpexp | Siddhesh Poyarekar | 2013-01-18 | 2 | -29/+34 |
| | |||||
* | Remove unnecessary multiplication with RADIXI | Siddhesh Poyarekar | 2013-01-18 | 1 | -3/+3 |
| | |||||
* | Fix header comment | Siddhesh Poyarekar | 2013-01-17 | 1 | -2/+0 |
| | |||||
* | Consolidate constant defines into mpa.h | Siddhesh Poyarekar | 2013-01-16 | 13 | -120/+26 |
| | |||||
* | Fix the value of TWO | Siddhesh Poyarekar | 2013-01-16 | 1 | -1/+1 |
| | |||||
* | Use libc_fe*() in 32-bit nearbyint() | David S. Miller | 2013-01-15 | 1 | -4/+4 |
| | | | | | * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use libc_feholdexcept and libc_fesetenv. | ||||
* | Minor tweak to mp multiplication | Siddhesh Poyarekar | 2013-01-14 | 1 | -13/+15 |
| | | | | | Add a local variable to remove extra copies to/from memory in the Z array. | ||||
* | Fix code formatting in mpa.c | Siddhesh Poyarekar | 2013-01-14 | 1 | -228/+463 |
| | | | | This includes the overridden mpa.c in power4. | ||||
* | Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64" | Andreas Schwab | 2013-01-10 | 17 | -117/+0 |
| | | | | This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940. | ||||
* | Revert "sysdeps/ieee754/ldbl-128ibm/e_expl.c" | Andreas Schwab | 2013-01-10 | 2 | -64/+16 |
| | | | | This reverts commit 35eb879e3b7849e86f06658bdb888f7858b30759. | ||||
* | Fix formatting in mpexp.c | Siddhesh Poyarekar | 2013-01-10 | 1 | -54/+95 |
| | |||||
* | Make __mpexp_twomm1 an array of doubles | Siddhesh Poyarekar | 2013-01-10 | 2 | -87/+26 |
| | | | | Cleanup to get rid of the `number` muck which is not necessary here. | ||||
* | sysdeps/ieee754/ldbl-128ibm/e_expl.c | Andreas Schwab | 2013-01-10 | 2 | -16/+64 |
| | |||||
* | Use ieee754/dbl-64/wordsize-64 on powerpc64 | Andreas Schwab | 2013-01-10 | 17 | -0/+117 |
| | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: Add ieee754/ldbl-opt/wordsize-64. * sysdeps/powerpc/powerpc64/Implies: Add ieee754/dbl-64/wordsize-64. | ||||
* | Update comments in mpa.c | Siddhesh Poyarekar | 2013-01-09 | 1 | -67/+47 |
| | | | | Fixed comment style and clearer wording in some cases. | ||||
* | Remove unused __cr and __cpymn | Siddhesh Poyarekar | 2013-01-04 | 1 | -33/+0 |
| | |||||
* | Fix code formatting | Siddhesh Poyarekar | 2013-01-04 | 1 | -10/+15 |
| | |||||
* | Clean up comment for MP_NO | Siddhesh Poyarekar | 2013-01-04 | 1 | -12/+26 |
| | |||||
* | Remove some commented code | Siddhesh Poyarekar | 2013-01-04 | 1 | -13/+0 |
| | |||||
* | Remove commented declarations | Siddhesh Poyarekar | 2013-01-04 | 1 | -6/+0 |
| | |||||
* | Remove argument variable name from function declaration | Siddhesh Poyarekar | 2013-01-04 | 1 | -1/+1 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 196 | -201/+196 |
| | |||||
* | Fix values in __mpexp_twomm1 | Siddhesh Poyarekar | 2013-01-02 | 1 | -8/+8 |
| | |||||
* | Split mantissa calculation loop and add branch prediction | Siddhesh Poyarekar | 2013-01-02 | 1 | -24/+43 |
| | |||||
* | Add assert for potential access beyond array bounds in m1np | Siddhesh Poyarekar | 2013-01-02 | 1 | -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 variables | Siddhesh Poyarekar | 2013-01-02 | 4 | -22/+8 |
| | | | | Code cleanup. | ||||
* | Add script to update copyright notices and reformat some to facilitate its use. | Joseph Myers | 2013-01-01 | 28 | -32/+28 |
| | |||||
* | Favour normal numbers | Siddhesh Poyarekar | 2012-12-31 | 1 | -4/+5 |
| | |||||
* | Demystify the magic number 134217729.0 | Siddhesh Poyarekar | 2012-12-29 | 3 | -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 mptwoim1 | Siddhesh Poyarekar | 2012-12-28 | 2 | -27/+3 |
| | | | | Code cleanup. | ||||
* | Replace more constants with their values | Siddhesh Poyarekar | 2012-12-28 | 5 | -97/+61 |
| | | | | Code cleanup. | ||||
* | Replace constants with preprocessor defines | Siddhesh Poyarekar | 2012-12-28 | 5 | -120/+28 |
| | | | | libm Code cleanup. | ||||
* | Remove redundant __mpexp_nn | Siddhesh Poyarekar | 2012-12-27 | 2 | -28/+2 |
| | | | | It's an array that stores integral float values of the offset. | ||||
* | Move mpone out to a global const | Siddhesh Poyarekar | 2012-12-27 | 7 | -68/+11 |
| | | | | Code cleanup. | ||||
* | Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c. | Joseph Myers | 2012-12-05 | 1 | -0/+1 |
| | |||||
* | Fix ldbl-128ibm "set but not used" warnings. | Joseph Myers | 2012-12-04 | 5 | -5/+9 |
| | |||||
* | Fix "conflicting types for built-in function" warnings from nldbl-*.c. | Joseph Myers | 2012-12-04 | 1 | -0/+99 |
| | |||||
* | Fix powl inaccuracy for ldbl-128ibm (bug 14914). | Joseph Myers | 2012-12-04 | 1 | -7/+7 |
| | |||||
* | Use hex float 64-bit values in ldbl-96 asinl (bug 14803). | Joseph Myers | 2012-11-28 | 1 | -3/+6 |
| | |||||
* | Fix ldbl-128ibm atanl spurious underflows (bug 14871). | Joseph Myers | 2012-11-22 | 1 | -0/+16 |
| | |||||
* | Fix sign of inexact zero results for ldbl-128ibm fmal. | Joseph Myers | 2012-11-22 | 1 | -1/+7 |
| | |||||
* | Fix ldbl-128ibm powl spurious underflows. | Joseph Myers | 2012-11-22 | 1 | -1/+5 |
| | |||||
* | Fix ldbl-128ibm hypotl internal underflows (bug 14869). | Joseph Myers | 2012-11-22 | 1 | -1/+1 |
| |