about summary refs log tree commit diff
path: root/math
Commit message (Collapse)AuthorAgeFilesLines
* Always provide declarations of long double math functions when !_LIBCAndreas Schwab2011-11-042-6/+8
|
* Fix accuracy problem in generic sinUlrich Drepper2011-10-291-0/+1
|
* Make math_force_eval accept non-addressable argumentsAndreas Schwab2011-10-261-2/+3
|
* Optimize accurate 64-bit routines for FMA4 on x86-64Ulrich Drepper2011-10-241-1/+1
|
* Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper2011-10-223-0/+3
|\
| * Fix compilation due to __nan definesAndreas Schwab2011-10-223-0/+3
| |
* | Add branch predictions to complex math codeUlrich Drepper2011-10-2223-132/+77
|/
* Optimization to some complex math functionsUlrich Drepper2011-10-2219-255/+103
| | | | Also, change last reference to __sqrt into __sqrt to easily.
* Use new internal libc_fe* interfaces in more functionsUlrich Drepper2011-10-181-0/+8
|
* Provide combined internal feholdexcept/fesetround interfaceUlrich Drepper2011-10-181-0/+7
|
* Start optimizing the use of the fenv interfaces in libm itselfUlrich Drepper2011-10-181-0/+22
|
* Optimize expUlrich Drepper2011-10-153-0/+9
| | | | Add __exp*_finite optimizations and rewrite some wrappers.
* Add parameter annotation to modfAndreas Jaeger2011-10-151-2/+3
|
* Optimize libmUlrich Drepper2011-10-12102-2753/+2418
| | | | | libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized.
* Optimize use of isnan, isinf, finiteUlrich Drepper2011-10-0821-62/+71
|
* Use private math_private.h in files in math/Ulrich Drepper2011-10-08128-128/+128
|
* Fix remainder (NaN, 0)Andreas Jaeger2011-10-074-9/+25
|
* Fix jn precisionPetr Baudis2011-09-091-1/+11
|
* Fix lround() loses precisionPaul Pluzhnikov2011-09-081-0/+1
|
* Fix whitespaceUlrich Drepper2011-05-181-1/+1
|
* Fix typo in x86-64 powlH.J. Lu2011-05-182-1/+54
|
* Fix typo in comment.Erich Ritz2010-11-011-1/+1
|
* IEEE quad fmal fixesJakub Jelinek2010-10-181-0/+15
|
* Implement fmal, some fma bugfixesJakub Jelinek2010-10-151-0/+25
|
* Fix some more dbl-64/s_fma.c issueJakub Jelinek2010-10-151-0/+10
|
* Implement accurate fma.Jakub Jelinek2010-10-131-1/+17
|
* Correct implementation of fmaf.Jakub Jelinek2010-10-113-2/+8
|
* Fix whitespaces.Ulrich Drepper2010-04-081-1/+1
|
* Fix cproj implmentation.Ulrich Drepper2010-04-084-34/+18
|
* (INSERT_WORDS64): Fix argument order.David S. Miller2010-03-031-1/+1
|
* Avoid PLT call to fegetenv on s390Andreas Schwab2010-02-091-0/+1
|
* Fix range checks in coshl.Jakub Jelinek2009-10-271-2/+2
|
* Fix generic fdiml.Joseph Myers2009-08-251-2/+2
|
* Add ceil implementation for 64-bit machines.Ulrich Drepper2009-08-241-0/+19
| | | | | | | 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.
* Fix overflow handling in fdim.Ulrich Drepper2009-08-243-8/+32
|
* Define math_errhandling is possible.Ulrich Drepper2009-08-241-2/+9
|
* Add support for x86-64 fma instruction.Ulrich Drepper2009-07-292-2/+6
| | | | Use it to implement fma and fmaf, if possible.
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* Add test for range error in expm1.Ulrich Drepper2009-05-151-0/+4
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper2009-04-261-0/+6
| | | | | | | | | | * 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.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correctUlrich Drepper2009-04-261-3/+17
| | | | | | errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
* * math/w_fmod.c: Also handle x=±Inf as error.Ulrich Drepper2009-04-264-8/+16
| | | | | | | * 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.
* * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper2009-04-261-1/+13
| | | | | | | | | | | | | | | | | * 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.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errorsUlrich Drepper2009-04-251-0/+2
| | | | | for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
* 2008-10-24 Joseph Myers <joseph@codesourcery.com>Ulrich Drepper2008-11-011-1/+8
| | | | | | | | Ulrich Drepper <drepper@redhat.com> * math/tgmath.h (__floating_type): Use __builtin_classify_type in definition for GCC 3.1 and later.
* Work around braindead IBM128 long double format.Ulrich Drepper2008-05-221-2/+2
|
* [BZ #3406]Ulrich Drepper2008-05-111-0/+1
| | | | | | | 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.
* * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper2008-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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.
* [BZ4997]Ulrich Drepper2008-04-111-0/+43
| | | | | | | | | | | | | * 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.