about summary refs log tree commit diff
path: root/sysdeps/ieee754
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed commented codeSiddhesh Poyarekar2013-03-2611-85/+0
|
* Make mantissa type of mp_no configurableSiddhesh Poyarekar2013-03-263-69/+101
| | | | | | | | | | The mantissa of mp_no is intended to take only integral values. This is a relatively good choice for powerpc due to its 4 fpus, but not for other architectures, which suffer due to this choice. This change makes the default mantissa a long integer and allows powerpc to override it. Additionally, some operations have been optimized for integer manipulation, resulting in a significant improvement in performance.
* BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibmAdhemerval Zanella2013-03-222-6/+24
| | | | | | The patch increase the high value to check if expl overflows. Current high mark value is not really correct, the algorithm accepts high values. It also adds a correct wrapper function to check for overflow and underflow.
* Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285).Joseph Myers2013-03-212-20/+34
|
* Replace 8388608.0 with HALFRAD in mp codeSiddhesh Poyarekar2013-03-212-3/+3
| | | | Minor cleanup
* Fix y1l spurious overflows for ldbl-96 (bug 15283).Joseph Myers2013-03-161-1/+1
|
* Fix spurious underflow exceptions for Bessel functions for ldbl-128 / ↵Joseph Myers2013-03-162-58/+79
| | | | ldbl-128ibm (bug 14155).
* Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge2013-03-151-5/+5
|
* Revert configurable mantissa patchSiddhesh Poyarekar2013-03-153-92/+60
| | | | | | Reverts d22ca8cdfb98001d03772ef264b244930d439b3f since it is severely broken on 32-bit.
* Make mantissa type configurableSiddhesh Poyarekar2013-03-153-60/+92
| | | | | This allows the default mantissa to be integral, with powerpc overriding it to take advantage of its FPUs.
* Fix spurious underflow exceptions for Bessel functions for double (bug 14155).Joseph Myers2013-03-142-4/+8
|
* PowerPC: unify math_ldbl.h implementationsAdhemerval Zanella2013-03-081-2/+8
| | | | | This patch removes redudant definition from PowerPC specific math_ldbl, using the definitions from ieee754 math_ldbl.h.
* Merge powerpc slowexp.c into generic codeSiddhesh Poyarekar2013-03-071-3/+9
|
* Merge powerpc slowpow.c into generic codeSiddhesh Poyarekar2013-03-071-0/+17
|
* Use generic mpa.c code for everything except __mul and __sqrSiddhesh Poyarekar2013-03-071-0/+4
|
* BZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibmAdhemerval Zanella2013-03-041-1/+1
|
* Format mpsqrt.cSiddhesh Poyarekar2013-02-271-34/+44
|
* Format mpatan2.cSiddhesh Poyarekar2013-02-271-23/+22
|
* Format mpatan.cSiddhesh Poyarekar2013-02-271-46/+61
|
* Format mptan.cSiddhesh Poyarekar2013-02-271-13/+15
|
* Format mplog.cSiddhesh Poyarekar2013-02-271-21/+23
|
* Another tweak to the multiplication algorithmSiddhesh Poyarekar2013-02-261-6/+50
| | | | | Reduce the formula to calculate mantissa so that we reduce the net number of multiplications performed.
* Don't duplicate mpone and mptwoSiddhesh Poyarekar2013-02-261-5/+3
|
* Remove commented declarationsSiddhesh Poyarekar2013-02-251-14/+0
|
* Use long wherever possible in mpa.cSiddhesh Poyarekar2013-02-251-31/+39
| | | | | | Using long throughout like powerpc does is beneficial since it reduces the need to switch to 32-bit instructions. It gives a very minor performance improvement.
* 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.