about summary refs log tree commit diff
path: root/sysdeps/ieee754
Commit message (Collapse)AuthorAgeFilesLines
...
* Format slowexp.cSiddhesh Poyarekar2013-02-251-22/+26
|
* Reformat slowpow.cSiddhesh Poyarekar2013-02-251-31/+48
|
* Remove commented codeSiddhesh Poyarekar2013-02-251-6/+0
|
* Fix whitespace differences between generic and powerpc mpa.cSiddhesh Poyarekar2013-02-211-2/+2
|
* Respect the user's namespace in installed header files.Thomas Schwinge2013-02-201-1/+1
| | | | Fixup for commit c7b275d6b3bceb6b400fa3044d13d1001bc605ca.
* bits/nan.h: Change __attribute_used__ to __attribute__ ((unused)).Thomas Schwinge2013-02-201-1/+1
|
* Copy comment about inner loop from powerpc mpa.c to the default oneSiddhesh Poyarekar2013-02-201-0/+10
|
* Don't require LIM to determine loop end in __sqrSiddhesh Poyarekar2013-02-161-10/+4
|
* Use intermediate variable to compute exponent in __mulSiddhesh Poyarekar2013-02-161-4/+15
|
* Fix determination of lower precision in __mulSiddhesh Poyarekar2013-02-151-1/+4
|
* Use __sqr instead of __mul wherever possibleSiddhesh Poyarekar2013-02-143-4/+4
|
* New __sqr function as a faster special case of __mulSiddhesh Poyarekar2013-02-143-2/+94
|
* Remove unnecessary factorial arraySiddhesh Poyarekar2013-02-131-10/+3
| | | | kf is n! at the end of the loop, so storing the values is unnecessary.
* Better exp polynomialSiddhesh Poyarekar2013-02-131-23/+37
| | | | The lesser the __mul calls, the better it is for performance.
* Optimized mp multiplicationSiddhesh Poyarekar2013-02-131-8/+48
| | | | Don't bother multiplying zeroes since that only wastes cycles.
* Clean up add_magnitudes and sub_magnitudesSiddhesh Poyarekar2013-02-131-52/+60
|
* Remove lots of inline keywords.Roland McGrath2013-02-071-1/+1
|
* 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.
* Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab2013-01-1017-117/+0
| | | | This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
* Revert "sysdeps/ieee754/ldbl-128ibm/e_expl.c"Andreas Schwab2013-01-102-64/+16
| | | | This reverts commit 35eb879e3b7849e86f06658bdb888f7858b30759.
* 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.
* sysdeps/ieee754/ldbl-128ibm/e_expl.cAndreas Schwab2013-01-102-16/+64
|
* Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab2013-01-1017-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.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-02196-201/+196
|
* 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-0128-32/+28
|
* 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.