aboutsummaryrefslogtreecommitdiff
path: root/math
AgeCommit message (Collapse)Author
2011-11-04Always provide declarations of long double math functions when !_LIBCAndreas Schwab
2011-10-29Fix accuracy problem in generic sinUlrich Drepper
2011-10-26Make math_force_eval accept non-addressable argumentsAndreas Schwab
2011-10-24Optimize accurate 64-bit routines for FMA4 on x86-64Ulrich Drepper
2011-10-22Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper
2011-10-22Add branch predictions to complex math codeUlrich Drepper
2011-10-22Fix compilation due to __nan definesAndreas Schwab
2011-10-22Optimization to some complex math functionsUlrich Drepper
Also, change last reference to __sqrt into __sqrt to easily.
2011-10-18Use new internal libc_fe* interfaces in more functionsUlrich Drepper
2011-10-18Provide combined internal feholdexcept/fesetround interfaceUlrich Drepper
2011-10-18Start optimizing the use of the fenv interfaces in libm itselfUlrich Drepper
2011-10-15Optimize expUlrich Drepper
Add __exp*_finite optimizations and rewrite some wrappers.
2011-10-15Add parameter annotation to modfAndreas Jaeger
2011-10-12Optimize libmUlrich Drepper
libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized.
2011-10-08Optimize use of isnan, isinf, finiteUlrich Drepper
2011-10-08Use private math_private.h in files in math/Ulrich Drepper
2011-10-07Fix remainder (NaN, 0)Andreas Jaeger
2011-09-09Fix jn precisionPetr Baudis
2011-09-08Fix lround() loses precisionPaul Pluzhnikov
2011-05-18Fix whitespaceUlrich Drepper
2011-05-18Fix typo in x86-64 powlH.J. Lu
2010-11-01Fix typo in comment.Erich Ritz
2010-10-18IEEE quad fmal fixesJakub Jelinek
2010-10-15Implement fmal, some fma bugfixesJakub Jelinek
2010-10-15Fix some more dbl-64/s_fma.c issueJakub Jelinek
2010-10-13Implement accurate fma.Jakub Jelinek
2010-10-11Correct implementation of fmaf.Jakub Jelinek
2010-04-08Fix whitespaces.Ulrich Drepper
2010-04-08Fix cproj implmentation.Ulrich Drepper
2010-03-03(INSERT_WORDS64): Fix argument order.David S. Miller
2010-02-09Avoid PLT call to fegetenv on s390Andreas Schwab
2009-10-27Fix range checks in coshl.Jakub Jelinek
2009-08-25Fix generic fdiml.Joseph Myers
2009-08-24Add ceil implementation for 64-bit machines.Ulrich Drepper
On 64-bit machines we should not split doubles into two 32 bit integer and handle the words separately. We have wide registers. This patch implements a 64-bit ceil version. Ideally all other functions will be converted over time.
2009-08-24Fix overflow handling in fdim.Ulrich Drepper
2009-08-24Define math_errhandling is possible.Ulrich Drepper
2009-07-29Add support for x86-64 fma instruction.Ulrich Drepper
Use it to implement fma and fmaf, if possible.
2009-05-16Remove redundant .gitignore files.Andreas Schwab
2009-05-15Add test for range error in expm1.Ulrich Drepper
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-26* sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper
* sysdeps/i386/fpu/s_tanf.S: Likewise. * sysdeps/i386/fpu/s_tanl.S: Likewise. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. * sysdeps/x86_64/fpu/s_tanl.S: Likewise. * math/libm-test.inc: Add tests for errno after tan calls with ±Inf.
2009-04-26* sysdeps/ieee754/k_standard.c (__kernel_standard): Use correctUlrich Drepper
errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
2009-04-26* math/w_fmod.c: Also handle x=±Inf as error.Ulrich Drepper
* math/w_fmodf.c: Likewise. * math/w_fmodl.c: Likewise. * math/libm-test.inc (fmod_test): Add tests for errno after calls for x=±Inf or y=0.
2009-04-26* sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper
* sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
2009-04-25* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errorsUlrich Drepper
for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
2008-11-012008-10-24 Joseph Myers <joseph@codesourcery.com>Ulrich Drepper
Ulrich Drepper <drepper@redhat.com> * math/tgmath.h (__floating_type): Use __builtin_classify_type in definition for GCC 3.1 and later.
2008-05-22Work around braindead IBM128 long double format.Ulrich Drepper
2008-05-11[BZ #3406]Ulrich Drepper
2008-02-11 Joseph Myers <joseph@codesourcery.com> [BZ #3406] * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. * math/libm-test.inc (exp_test): Test 88.72269439697265625.
2008-04-12* sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper
__fe_nomask_env. * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. * sysdeps/powerpc/bits/fenv.h: Make safe for C++. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename function from fegetexcept and make old name weak alias. * include/fenv.h: Declare __fegetexcept. * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of fegetexcept. * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call to fetestexcept. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl instead of frexpl to avoid local PLT. * math/s_significandl.c (__significandl): Use __ilogbl instead of ilogbl to avoid local PLT. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl instead of ldexpl to avoid local PLT. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use __roundl not roundl to avoid local PLT. * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid local PLTs. Use __sincosl instead of separate sinl and cosl calls. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2008-04-11[BZ4997]Ulrich Drepper
* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the mantissa. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): Likewise. Also account for when x is an odd number between 2^52 and 2^53-1. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. * math/libm-test.inc (lround_test, llround_test): Added test cases to detect aforementioned erroneous conditions.