aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-02Add benchmark inputs for sinSiddhesh Poyarekar5-1/+52
2013-04-02Add benchmark tests for slowpow and slowexpSiddhesh Poyarekar8-6/+77
Separate benchmarks for the fast and slow implementations of pow and exp since measuring both together doesn't make sense. Adjust the iterations for pow and exp accordingly so that they run long enough for the measurements to be meaningful.
2013-04-02Add missing ChangeLog from commit 60c414c346a1d5ef0510ffbdc0ab75f288ee4d3fAdhemerval Zanella1-0/+10
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge49-16/+692
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-04-01PowerPC: remove branch prediction from rint implementationAdhemerval Zanella6-13/+22
The branch prediction hints is actually hurts performance in this case. The assembly implementation make two assumptions: 1. 'fabs (x) < 2^52' is unlikely and 2. 'x > 0.0' is unlike (if 1. is true). Since it a general floating point function, expected input is not bounded and then it is better to let the hardware handle the branches.
2013-03-30Update German translations.David S. Miller2-3/+7
* po/de.po: Update from translation team.
2013-03-30Fix casinh inaccuracy for imaginary part < 1.0, real part small (bug 10357).Joseph Myers8-301/+3417
2013-03-29Remove usage of ONE macroSiddhesh Poyarekar2-1/+4
I missed this instance, which caused a build failure in powerpc.
2013-03-29Remove ONE and MONESiddhesh Poyarekar8-22/+29
2013-03-29Format s_tan.cSiddhesh Poyarekar2-405/+730
2013-03-29Remove ZERO and MZERO macrosSiddhesh Poyarekar8-63/+71
2013-03-29Format s_atan.cSiddhesh Poyarekar2-151/+248
2013-03-29Format e_log.cSiddhesh Poyarekar2-95/+137
2013-03-28Avoid unconditional __call_tls_dtors calls in static linking.Roland McGrath6-5/+27
2013-03-28Use __ehdr_start, if available, as fallback for AT_PHDR.Roland McGrath3-8/+38
2013-03-28Make _dl_phdr pointer to const.Roland McGrath5-5/+11
2013-03-28Consolidate declarations of _dl_phdr, _dl_phnum.Roland McGrath5-12/+12
2013-03-28Fix typo in bug number in NEWS.Joseph Myers1-2/+2
2013-03-28Never call syslog in __libc_message.Roland McGrath2-9/+5
2013-03-28PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.Alan Modra3-0/+21
The .eh_frame info in crt1.o isn't useful and this patch prevents it from being generated on PowerPC. It triggers the following gold bug: http://sourceware.org/bugzilla/show_bug.cgi?id=14675
2013-03-28Fix e_logl (128ibm) spurious underflowAdhemerval Zanella4-4/+26
2013-03-28Don't add input group during initgroups_dyn in hesiodSiddhesh Poyarekar3-28/+5
Fixes BZ #15304. The *initgroups_dyn functions are called with a group argument. This group gid is usually skipped while populating the grouplist since the caller adds that group id in advance. The hesiod initgroups_dyn implementation however adds the group gid to the list if it does not already exist. While it works fine for the usual initgroups, it breaks nscd since it calls initgroups_dyn with -1 as the gid (to have all groups included).
2013-03-28Format and clean up s_atan2.cSiddhesh Poyarekar2-310/+498
2013-03-27Fix casinh inaccuracy near i, imaginary part > 1 (bug 15307).Joseph Myers8-1/+1214
2013-03-26ARM: fix preconfigure.Mans Rullgard3-2/+7
2013-03-26Use integral constantsSiddhesh Poyarekar2-76/+90
The compiler is smart enough to convert those into double for powerpc, but if we put them as doubles, it adds overhead by performing those operations in floating point mode.
2013-03-26Removed commented codeSiddhesh Poyarekar12-85/+21
2013-03-26Make mantissa type of mp_no configurableSiddhesh Poyarekar5-69/+176
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.
2013-03-26PowerPC: fix libm ABI issue for llroundlAdhemerval Zanella2-0/+9
2013-03-24Fix docs for scalbn* and scalbl* functionsMark H Weaver2-6/+11
* manual/arith.texi (Normalization Functions): Fix prototypes for scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2013-03-22Update sparc ULPs.David S. Miller1-4/+1002
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-03-22BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibmAdhemerval Zanella5-10/+40
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.
2013-03-22BZ#11120: fix x86_64/strcmp.S NOT_IN_libc safeguardsDmitry V. Levin3-11/+17
Due to a typo repeated several times, this bug hasn't been fixed yet, despite being marked as resolved in glibc 2.12. * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib with NOT_IN_libc.
2013-03-21PowerPC: fix sqrtl ABI issueAdhemerval Zanella2-0/+9
This patch fixes a sqrtl ABI issue when building for powerpc64.
2013-03-21libm-test: Properly wrap blocks consisting of several statements.Thomas Schwinge2-8/+17
2013-03-21On 32-bit x86, disable certain tests involving sNaN values.Thomas Schwinge4-10/+91
Follow-up to commit 495ded2c8c1eb8c0ac4b54add2dd397852e19cba.
2013-03-21Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285).Joseph Myers6-21/+62
2013-03-21Allow adding of arbitrary code to benchmark testsSiddhesh Poyarekar2-1/+10
This allows us to define custom functions in C code files and benchmark scenarios rather than just functions. The main current use of this is to separate the slow and fast path benchmarks for math functions.
2013-03-21Fix casinh inaccuracy for argument with imaginary part 1 (bug 15287).Joseph Myers8-3/+1812
2013-03-21Replace 8388608.0 with HALFRAD in mp codeSiddhesh Poyarekar3-3/+8
Minor cleanup
2013-03-21Use LIBC_CONFIG_VAR for MIPS default-abi setting.Joseph Myers4-5/+11
2013-03-20Use LIBC_CONFIG_VAR for ARM default-abi setting.Joseph Myers4-7/+14
2013-03-20Move system-specific settings out of toplevel configure.in and config.make.in.Joseph Myers13-37/+90
2013-03-20BZ#14812: Add missing N_ markers in localedef.Roland McGrath2-5/+12
2013-03-20Add bug 14176 to NEWS.Joseph Myers1-3/+4
2013-03-20BZ#14812: Mark fixed in NEWS.Roland McGrath1-3/+3
2013-03-20ChangeLog format fix.Roland McGrath1-1/+1
2013-03-20Correct missed use of $(rtlddir).Marcus Shawcroft2-1/+5
2013-03-20Do not warn about mblen, mbtowc and wctomb unused result.Ondrej Bilka2-3/+8
2013-03-19Consolidate Linux and POSIX libc_fatal code.Roland McGrath3-186/+83