about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64
Commit message (Collapse)AuthorAgeFilesLines
* Simplify calculation of 2^-m in __mpexpSiddhesh Poyarekar2013-01-182-29/+34
|
* Remove unnecessary multiplication with RADIXISiddhesh Poyarekar2013-01-181-3/+3
|
* Fix header commentSiddhesh Poyarekar2013-01-171-2/+0
|
* Consolidate constant defines into mpa.hSiddhesh Poyarekar2013-01-1613-120/+26
|
* Fix the value of TWOSiddhesh Poyarekar2013-01-161-1/+1
|
* Use libc_fe*() in 32-bit nearbyint()David S. Miller2013-01-151-4/+4
| | | | | * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use libc_feholdexcept and libc_fesetenv.
* Minor tweak to mp multiplicationSiddhesh Poyarekar2013-01-141-13/+15
| | | | | Add a local variable to remove extra copies to/from memory in the Z array.
* Fix code formatting in mpa.cSiddhesh Poyarekar2013-01-141-228/+463
| | | | This includes the overridden mpa.c in power4.
* Fix formatting in mpexp.cSiddhesh Poyarekar2013-01-101-54/+95
|
* Make __mpexp_twomm1 an array of doublesSiddhesh Poyarekar2013-01-102-87/+26
| | | | Cleanup to get rid of the `number` muck which is not necessary here.
* Update comments in mpa.cSiddhesh Poyarekar2013-01-091-67/+47
| | | | Fixed comment style and clearer wording in some cases.
* Remove unused __cr and __cpymnSiddhesh Poyarekar2013-01-041-33/+0
|
* Fix code formattingSiddhesh Poyarekar2013-01-041-10/+15
|
* Clean up comment for MP_NOSiddhesh Poyarekar2013-01-041-12/+26
|
* Remove some commented codeSiddhesh Poyarekar2013-01-041-13/+0
|
* Remove commented declarationsSiddhesh Poyarekar2013-01-041-6/+0
|
* Remove argument variable name from function declarationSiddhesh Poyarekar2013-01-041-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0285-86/+85
|
* 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-0123-23/+23
|
* 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.
* Fix spurious underflows from pow with results close to 1 (bug 14811).Joseph Myers2012-11-071-0/+4
|
* Fix fma underflows with small x * y (bug 14793).Joseph Myers2012-11-061-18/+27
|
* Fix fma overflow results outside round-to-nearest mode (bug 14797).Joseph Myers2012-11-041-4/+5
|
* Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers2012-11-031-2/+16
|
* Fix fma (a, b, c) for small a * b (bugs 14784, 14785).Joseph Myers2012-11-011-4/+32
|
* Fix fma underflow exceptions in after-rounding edge cases.Joseph Myers2012-10-311-0/+12
|
* Fix fma missing underflows and bad results for some subnormal results (bugs ↵Joseph Myers2012-10-301-14/+8
| | | | 14152, 14783).
* Fix sign of inexact zero return from fma (bug 14645).Joseph Myers2012-10-011-0/+5
|
* Fix sign of exact zero return from fma (bug 14638).Joseph Myers2012-09-292-0/+12
|
* Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers2012-09-252-0/+143
|
* Set up errno properly for yn.Marek Polacek2012-07-251-0/+4
|
* Fix wordsize-64 cosh regression (bug 14273).Joseph Myers2012-06-211-0/+1
|
* Fix pow (0.0, -Inf) (bug 14241).Joseph Myers2012-06-151-2/+2
|
* Fix fmod for subnormals (bug 14048).Joseph Myers2012-06-011-2/+2
|
* Ensure additions are not scheduled after fetestexcept in fmaf and fmal.Joseph Myers2012-06-011-1/+3
|
* Add a barrier in the double fma implementation.Aurelien Jarno2012-06-011-1/+3
|
* Optimize handling of denormals in logb/logbf/logblAndreas Schwab2012-05-262-6/+8
|
* Log2 and log10 for wordsize-64.Adhemerval Zanella2012-05-154-82/+305
| | | | This patch also fixes indentation on default dbl-64 code.
* Use __builtin_clzll on int64 in __logbH.J. Lu2012-05-141-1/+1
|
* Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella2012-05-102-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.