summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64
AgeCommit message (Collapse)AuthorFilesLines
2014-02-27Fix sign of input to bsloww1 (BZ #16623)Siddhesh Poyarekar1-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.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae88-88/+88
2013-12-27Fix typo in csloww()Allan McRae1-1/+1
An incorrect variable name was used during the refactoring done in commit 4aafb73c.
2013-12-20Consolidate code to compute sin and cos from lookup tablesSiddhesh Poyarekar1-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.
2013-12-20Remove more redundant computations in s_sin.cSiddhesh Poyarekar1-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.
2013-12-20Remove redundant arguments in reduce_and_computeSiddhesh Poyarekar1-4/+4
The A and DA arguments in reduce_and_compute are useless and hence have been removed.
2013-12-20Remove some redundant computations in s_sin.cSiddhesh Poyarekar1-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.
2013-12-18Compile e_sqrt.c with -ffp-contract=off.Marcus Shawcroft1-0/+1
2013-12-17Fix dbl-64 hypot spurious underflows (bug 16314).Joseph Myers1-1/+1
2013-12-17Fix hypot handling of subnormals (bug 16316, bug 16330).Joseph Myers1-0/+11
2013-12-16Minor code cleanup in s_sin.cSiddhesh Poyarekar1-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.
2013-12-11Consolidate definition of constant t22Siddhesh Poyarekar1-9/+3
2013-12-11Use double constants instead of the struct numberSiddhesh Poyarekar2-136/+106
2013-12-06PowerPC: multiarch finite/finitef for PowerPC32Adhemerval Zanella1-2/+6
2013-12-03Fix exp missing underflows (bug 15268, bug 15425).Joseph Myers1-3/+14
2013-12-03Fix erfc errno setting on underflow (bug 6786).Joseph Myers1-2/+15
2013-11-28Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers1-4/+34
2013-11-20Add systemtap probe markers for sin, cos, asin and acosSiddhesh Poyarekar1-0/+5
2013-10-28Consolidate conditionals in mp sin/cos functionsSiddhesh Poyarekar1-8/+6
Consolidate conditionals in multiple precision sin and cos functions to prepare the code for addition of probe points.
2013-10-17Format floating routines.Ondřej Bílka58-2175/+2769
2013-10-11Add systemtap markers to math function slow pathsSiddhesh Poyarekar6-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.
2013-10-08Format e_pow.cSiddhesh Poyarekar1-260/+313
2013-10-08Format e_exp.cSiddhesh Poyarekar1-164/+242
2013-10-08Consolidate multiple precision sin/cos functionsSiddhesh Poyarekar2-125/+111
2013-09-19Consolidate common code into macrosSiddhesh Poyarekar1-74/+62
Consolidated common Taylor series polynomials into macros in s_sin.c to make it a bit cleaner.
2013-09-19Consolidate sin/cos table lookup codeSiddhesh Poyarekar1-114/+35
2013-09-19Consolidate sin/cos computation for large inputsSiddhesh Poyarekar1-47/+36
2013-09-19Remove redundant goto linesSiddhesh Poyarekar1-40/+3
2013-09-18Format sincos32.cSiddhesh Poyarekar1-236/+254
2013-09-10Remove DO_NOT_USE_THIS conditionals.Ondřej Bílka5-97/+0
2013-06-15Fix spurious "inexact" exceptions from dbl-64 sqrt (bug 15631).Joseph Myers1-2/+15
2013-06-06Fix leading whitespaces.Ondrej Bilka1-3/+3
2013-06-05Remove trailing whitespace.Joseph Myers1-6/+6
2013-05-19Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers1-0/+2
2013-05-17Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers1-0/+1
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold9-2/+9
2013-05-08Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers3-5/+256
2013-04-30Format s_sin.cSiddhesh Poyarekar1-904/+1212
2013-04-05[BZ #14686, #15336] Fix standard compliance. Don't use hard-coded qNaN values.Thomas Schwinge2-12/+10
2013-04-05[BZ #15335, #15342] Fix standard compliance. Don't use hard-coded qNaN values.Thomas Schwinge2-9/+9
2013-04-05Remove unreachable code.Thomas Schwinge1-2/+1
The case of y == 0 is handled at the beginning of the function.
2013-04-05Remove unused hard-coded qNaN definition.Thomas Schwinge1-2/+0
2013-04-03Remove TWOSiddhesh Poyarekar2-3/+1
Minor cleanup to remove the macro TWO and use the value directly instead.
2013-04-02Use mantissa_t in mpexpSiddhesh Poyarekar2-3/+4
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2-0/+89
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-03-29Remove ONE and MONESiddhesh Poyarekar7-22/+20
2013-03-29Format s_tan.cSiddhesh Poyarekar1-405/+728
2013-03-29Remove ZERO and MZERO macrosSiddhesh Poyarekar6-53/+51
2013-03-29Format s_atan.cSiddhesh Poyarekar1-151/+246
2013-03-29Format e_log.cSiddhesh Poyarekar1-95/+133