aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2013-01-04Update Sparc ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-04Fix warnings in test-powerpc-snan.cAndreas Schwab
2013-01-04Update powerpc libm ULPsAndreas Schwab
2013-01-04Remove unused __cr and __cpymnSiddhesh Poyarekar
2013-01-04Fix build failure on power4 processorsSiddhesh Poyarekar
The power4-specific mpa.c depended on some global variables that were removed by earlier patches. Also, it did not define mpone and mptwo.
2013-01-04Fix casinh, casin inaccuracy from cancellation (bug 14994).Joseph Myers
2013-01-04Fix code formattingSiddhesh Poyarekar
2013-01-04Clean up comment for MP_NOSiddhesh Poyarekar
2013-01-04Remove some commented codeSiddhesh Poyarekar
2013-01-04Remove commented declarationsSiddhesh Poyarekar
2013-01-04Remove argument variable name from function declarationSiddhesh Poyarekar
2013-01-03Add HAS_RTMH.J. Lu
2013-01-02Fix copyright notice corruption from update-copyright bug.Joseph Myers
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-02Fix values in __mpexp_twomm1Siddhesh Poyarekar
2013-01-02Split mantissa calculation loop and add branch predictionSiddhesh Poyarekar
2013-01-02Add assert for potential access beyond array bounds in m1npSiddhesh Poyarekar
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.
2013-01-02Move more constants into static variablesSiddhesh Poyarekar
Code cleanup.
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers
2012-12-31Favour normal numbersSiddhesh Poyarekar
2012-12-29Demystify the magic number 134217729.0Siddhesh Poyarekar
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.
2012-12-28Remove unnecessary variable mptwoim1Siddhesh Poyarekar
Code cleanup.
2012-12-28Replace more constants with their valuesSiddhesh Poyarekar
Code cleanup.
2012-12-28Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger
2012-12-28Replace constants with preprocessor definesSiddhesh Poyarekar
libm Code cleanup.
2012-12-27Remove redundant __mpexp_nnSiddhesh Poyarekar
It's an array that stores integral float values of the offset.
2012-12-27Move mpone out to a global constSiddhesh Poyarekar
Code cleanup.
2012-12-21S/390: Update libm-test-ulps.Andreas Krebbel
2012-12-08Fix some build warnings on s390xSiddhesh Poyarekar
2012-12-06linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger
Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64. If the former is unavailable, fallback to the latter. Reviewed-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-06Fix warnings from generic _FPU_GETCWChris Metcalf
2012-12-06Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar
2012-12-05Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.Joseph Myers
2012-12-04Define _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.Joseph Myers
2012-12-04Fix ldbl-128ibm "set but not used" warnings.Joseph Myers
2012-12-04Fix sparc build with older compilers.David S. Miller
* sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2012-12-04Fix "conflicting types for built-in function" warnings from nldbl-*.c.Joseph Myers
2012-12-04Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers
2012-12-04Fix powl inaccuracy for ldbl-128ibm (bug 14914).Joseph Myers
2012-12-03byteswap.h: fix gcc ver test for __builtin_bswap{32,64}Mike Frysinger
The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2. Fix the __GNUC_PREREQ tests to reflect this. Otherwise trying to compile code with gcc-4.2 falls down: In file included from /usr/include/endian.h:60, from /usr/include/ctype.h:40, /usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)': /usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope /usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)': /usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-30Fix type-punning warning in powerpc64 gmon-start.Roland McGrath
2012-11-29clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger
In commit 26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove __ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were dropped. Punt the fallback definition too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-28Update sparc ULPs for recently added pow tests.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-11-28Use hex float 64-bit values in ldbl-96 asinl (bug 14803).Joseph Myers
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab
This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
2012-11-28Fix powl inaccuracy for x86_64 and x86 (bug 13881).Joseph Myers
2012-11-26Cast to __intptr_t before casting pointer to int64H.J. Lu
2012-11-27Fix strict-aliasing warnings from unwind-dw2-fde.c.Joseph Myers
2012-11-23Update powerpc libm-test ULPsAndreas Schwab
2012-11-22Fix ldbl-128ibm atanl spurious underflows (bug 14871).Joseph Myers