Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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. | ||||
* | 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 | 85 | -86/+85 |
| | |||||
* | 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 | 23 | -23/+23 |
| | |||||
* | 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. | ||||
* | Fix spurious underflows from pow with results close to 1 (bug 14811). | Joseph Myers | 2012-11-07 | 1 | -0/+4 |
| | |||||
* | Fix fma underflows with small x * y (bug 14793). | Joseph Myers | 2012-11-06 | 1 | -18/+27 |
| | |||||
* | Fix fma overflow results outside round-to-nearest mode (bug 14797). | Joseph Myers | 2012-11-04 | 1 | -4/+5 |
| | |||||
* | Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796). | Joseph Myers | 2012-11-03 | 1 | -2/+16 |
| | |||||
* | Fix fma (a, b, c) for small a * b (bugs 14784, 14785). | Joseph Myers | 2012-11-01 | 1 | -4/+32 |
| | |||||
* | Fix fma underflow exceptions in after-rounding edge cases. | Joseph Myers | 2012-10-31 | 1 | -0/+12 |
| | |||||
* | Fix fma missing underflows and bad results for some subnormal results (bugs ↵ | Joseph Myers | 2012-10-30 | 1 | -14/+8 |
| | | | | 14152, 14783). | ||||
* | Fix sign of inexact zero return from fma (bug 14645). | Joseph Myers | 2012-10-01 | 1 | -0/+5 |
| | |||||
* | Fix sign of exact zero return from fma (bug 14638). | Joseph Myers | 2012-09-29 | 2 | -0/+12 |
| | |||||
* | Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629). | Joseph Myers | 2012-09-25 | 2 | -0/+143 |
| | |||||
* | Set up errno properly for yn. | Marek Polacek | 2012-07-25 | 1 | -0/+4 |
| | |||||
* | Fix wordsize-64 cosh regression (bug 14273). | Joseph Myers | 2012-06-21 | 1 | -0/+1 |
| | |||||
* | Fix pow (0.0, -Inf) (bug 14241). | Joseph Myers | 2012-06-15 | 1 | -2/+2 |
| | |||||
* | Fix fmod for subnormals (bug 14048). | Joseph Myers | 2012-06-01 | 1 | -2/+2 |
| | |||||
* | Ensure additions are not scheduled after fetestexcept in fmaf and fmal. | Joseph Myers | 2012-06-01 | 1 | -1/+3 |
| | |||||
* | Add a barrier in the double fma implementation. | Aurelien Jarno | 2012-06-01 | 1 | -1/+3 |
| | |||||
* | Optimize handling of denormals in logb/logbf/logbl | Andreas Schwab | 2012-05-26 | 2 | -6/+8 |
| | |||||
* | Log2 and log10 for wordsize-64. | Adhemerval Zanella | 2012-05-15 | 4 | -82/+305 |
| | | | | This patch also fixes indentation on default dbl-64 code. | ||||
* | Use __builtin_clzll on int64 in __logb | H.J. Lu | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Fix for logb/logbf/logbl (bugs 13954/13955/13956) | Adhemerval Zanella | 2012-05-10 | 2 | -20/+30 |
| | | | | | | | | 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. |