Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'release/2.19/master' into ibm/2.19/master | Tulio Magno Quites Machado Filho | 2015-03-13 | 1 | -6/+10 |
|\ | |||||
| * | Fix sign of input to bsloww1 (BZ #16623) | Siddhesh Poyarekar | 2014-02-27 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | | In 84ba214c, I removed some redundant sign computations and in the process, I incorrectly got rid of a temporary variable, thus passing the absolute value of the input to bsloww1. This caused #16623. This fix undoes the incorrect change. | ||||
* | | powerpc: Fix incorrect results for pow when using FMA | Adhemerval Zanella | 2015-03-10 | 1 | -0/+1 |
|/ | | | | | This patch adds no FMA generation for e_pow to avoid precision issues for powerpc. This fixes BZ#18104. | ||||
* | Update copyright notices with scripts/update-copyrights | Allan McRae | 2014-01-01 | 88 | -88/+88 |
| | |||||
* | Fix typo in csloww() | Allan McRae | 2013-12-27 | 1 | -1/+1 |
| | | | | | An incorrect variable name was used during the refactoring done in commit 4aafb73c. | ||||
* | Consolidate code to compute sin and cos from lookup tables | Siddhesh Poyarekar | 2013-12-20 | 1 | -232/+129 |
| | | | | | | | | | | | This patch consolidates the multiple copies of code that looks up sin and cos of a number from the lookup table and computes the final value, into static functions. This does not have a noticeable performance impact since the functions are inlined by gcc. There is further scope for consolidation in the functions but they cause a more noticable impact on performance (>5%) due to which I have held back on them. | ||||
* | Remove more redundant computations in s_sin.c | Siddhesh Poyarekar | 2013-12-20 | 1 | -42/+33 |
| | | | | | | | | Removed more redundant computations in the slow paths of the sin and cos functions. The notable change is the passing of the most significant bits of X to the slow functions to check if X is positive so that just the absolute value of x can be passed and the repeated ABS() operation is avoided. | ||||
* | Remove redundant arguments in reduce_and_compute | Siddhesh Poyarekar | 2013-12-20 | 1 | -4/+4 |
| | | | | | The A and DA arguments in reduce_and_compute are useless and hence have been removed. | ||||
* | Remove some redundant computations in s_sin.c | Siddhesh Poyarekar | 2013-12-20 | 1 | -24/+15 |
| | | | | | | | | There are multiple points in the code where the absolute value of a number is computed multiple times or is computed even though the value can only be positive. This change removes those redundant computations. Tested on x86_64 to verify that there were no regressions in the testsuite. | ||||
* | Compile e_sqrt.c with -ffp-contract=off. | Marcus Shawcroft | 2013-12-18 | 1 | -0/+1 |
| | |||||
* | Fix dbl-64 hypot spurious underflows (bug 16314). | Joseph Myers | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Fix hypot handling of subnormals (bug 16316, bug 16330). | Joseph Myers | 2013-12-17 | 1 | -0/+11 |
| | |||||
* | Minor code cleanup in s_sin.c | Siddhesh Poyarekar | 2013-12-16 | 1 | -20/+13 |
| | | | | | | | - Remove redundant mynumber union definitions - Clean up a clumsy ternary operator - Rename TAYLOR_SINCOS to TAYLOR_SIN since we're only expanding the sin Taylor series in it. | ||||
* | Consolidate definition of constant t22 | Siddhesh Poyarekar | 2013-12-11 | 1 | -9/+3 |
| | |||||
* | Use double constants instead of the struct number | Siddhesh Poyarekar | 2013-12-11 | 2 | -136/+106 |
| | |||||
* | PowerPC: multiarch finite/finitef for PowerPC32 | Adhemerval Zanella | 2013-12-06 | 1 | -2/+6 |
| | |||||
* | Fix exp missing underflows (bug 15268, bug 15425). | Joseph Myers | 2013-12-03 | 1 | -3/+14 |
| | |||||
* | Fix erfc errno setting on underflow (bug 6786). | Joseph Myers | 2013-12-03 | 1 | -2/+15 |
| | |||||
* | Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271). | Joseph Myers | 2013-11-28 | 1 | -4/+34 |
| | |||||
* | Add systemtap probe markers for sin, cos, asin and acos | Siddhesh Poyarekar | 2013-11-20 | 1 | -0/+5 |
| | |||||
* | Consolidate conditionals in mp sin/cos functions | Siddhesh Poyarekar | 2013-10-28 | 1 | -8/+6 |
| | | | | | Consolidate conditionals in multiple precision sin and cos functions to prepare the code for addition of probe points. | ||||
* | Format floating routines. | Ondřej Bílka | 2013-10-17 | 58 | -2175/+2769 |
| | |||||
* | Add systemtap markers to math function slow paths | Siddhesh Poyarekar | 2013-10-11 | 6 | -5/+45 |
| | | | | | | | Add systemtap probes to various slow paths in libm so that application developers may use systemtap to find out if their applications are hitting these slow paths. We have added probes for pow, exp, log, tan, atan and atan2. | ||||
* | Format e_pow.c | Siddhesh Poyarekar | 2013-10-08 | 1 | -260/+313 |
| | |||||
* | Format e_exp.c | Siddhesh Poyarekar | 2013-10-08 | 1 | -164/+242 |
| | |||||
* | Consolidate multiple precision sin/cos functions | Siddhesh Poyarekar | 2013-10-08 | 2 | -125/+111 |
| | |||||
* | Consolidate common code into macros | Siddhesh Poyarekar | 2013-09-19 | 1 | -74/+62 |
| | | | | | Consolidated common Taylor series polynomials into macros in s_sin.c to make it a bit cleaner. | ||||
* | Consolidate sin/cos table lookup code | Siddhesh Poyarekar | 2013-09-19 | 1 | -114/+35 |
| | |||||
* | Consolidate sin/cos computation for large inputs | Siddhesh Poyarekar | 2013-09-19 | 1 | -47/+36 |
| | |||||
* | Remove redundant goto lines | Siddhesh Poyarekar | 2013-09-19 | 1 | -40/+3 |
| | |||||
* | Format sincos32.c | Siddhesh Poyarekar | 2013-09-18 | 1 | -236/+254 |
| | |||||
* | Remove DO_NOT_USE_THIS conditionals. | Ondřej Bílka | 2013-09-10 | 5 | -97/+0 |
| | |||||
* | Fix spurious "inexact" exceptions from dbl-64 sqrt (bug 15631). | Joseph Myers | 2013-06-15 | 1 | -2/+15 |
| | |||||
* | Fix leading whitespaces. | Ondrej Bilka | 2013-06-06 | 1 | -3/+3 |
| | |||||
* | Remove trailing whitespace. | Joseph Myers | 2013-06-05 | 1 | -6/+6 |
| | |||||
* | Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490). | Joseph Myers | 2013-05-19 | 1 | -0/+2 |
| | |||||
* | Fix remainder exceptions and directed-rounding results (bugs 15480, 15485). | Joseph Myers | 2013-05-17 | 1 | -0/+1 |
| | |||||
* | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | 2013-05-16 | 9 | -2/+9 |
| | |||||
* | Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426). | Joseph Myers | 2013-05-08 | 3 | -5/+256 |
| | |||||
* | Format s_sin.c | Siddhesh Poyarekar | 2013-04-30 | 1 | -904/+1212 |
| | |||||
* | [BZ #14686, #15336] Fix standard compliance. Don't use hard-coded qNaN values. | Thomas Schwinge | 2013-04-05 | 2 | -12/+10 |
| | |||||
* | [BZ #15335, #15342] Fix standard compliance. Don't use hard-coded qNaN values. | Thomas Schwinge | 2013-04-05 | 2 | -9/+9 |
| | |||||
* | Remove unreachable code. | Thomas Schwinge | 2013-04-05 | 1 | -2/+1 |
| | | | | The case of y == 0 is handled at the beginning of the function. | ||||
* | Remove unused hard-coded qNaN definition. | Thomas Schwinge | 2013-04-05 | 1 | -2/+0 |
| | |||||
* | Remove TWO | Siddhesh Poyarekar | 2013-04-03 | 2 | -3/+1 |
| | | | | | Minor cleanup to remove the macro TWO and use the value directly instead. | ||||
* | Use mantissa_t in mpexp | Siddhesh Poyarekar | 2013-04-02 | 2 | -3/+4 |
| | |||||
* | New <math.h> macro named issignaling to check for a signaling NaN (sNaN). | Thomas Schwinge | 2013-04-02 | 2 | -0/+89 |
| | | | | It is based on draft TS 18661 and currently enabled as a GNU extension. | ||||
* | Remove ONE and MONE | Siddhesh Poyarekar | 2013-03-29 | 7 | -22/+20 |
| | |||||
* | Format s_tan.c | Siddhesh Poyarekar | 2013-03-29 | 1 | -405/+728 |
| | |||||
* | Remove ZERO and MZERO macros | Siddhesh Poyarekar | 2013-03-29 | 6 | -53/+51 |
| |