about summary refs log tree commit diff
path: root/sysdeps/ieee754
Commit message (Collapse)AuthorAgeFilesLines
* Implement __isinf_nsl for IBM long doubleAndreas Schwab2011-10-101-0/+16
|
* Fix some nit warnings.Roland McGrath2011-10-081-1/+1
|
* Optimize use of isnan, isinf, finiteUlrich Drepper2011-10-0811-1/+104
|
* finite for 64-bit platformsUlrich Drepper2011-09-151-0/+32
|
* Optimize logb code for 64-bit machinesUlrich Drepper2011-09-121-0/+44
|
* Fix jn precisionPetr Baudis2011-09-095-5/+50
|
* Fix lround() loses precisionPaul Pluzhnikov2011-09-081-1/+1
|
* Check for finite/infinity parms in IBM Long Double 128 fmal( )Ulrich Drepper2011-09-071-0/+39
| | | | | | | | | | | This patch addresses some IBM Long Double 128 fmal () test-ldouble.out and test-ildoubl.out failures. If the ‘x’ and ‘y’ parameters are finite values and ‘z’ is infinity, the result of fmal () should be ‘z’ not NaN. Conflicts: ChangeLog
* Fix up __kernel_rem_pio2 for FLT_EVAL_METHOD != 0 architecturesJakub Jelinek2011-08-041-6/+12
|
* ldbl-128 fmal compile fixJakub Jelinek2010-11-221-1/+1
|
* Fix comparison in sqrtl for IBM long double 128.Luis Machado2010-11-101-2/+2
|
* IEEE quad fmal fixesJakub Jelinek2010-10-181-2/+4
|
* Implement fmal, some fma bugfixesJakub Jelinek2010-10-155-3/+467
|
* Fix some more dbl-64/s_fma.c issueJakub Jelinek2010-10-151-15/+88
|
* Implement accurate fma.Jakub Jelinek2010-10-135-2/+268
|
* Correct implementation of fmaf.Jakub Jelinek2010-10-111-0/+50
|
* Fix cproj implmentation.Ulrich Drepper2010-04-081-17/+5
|
* sysdeps/ieee754/ldbl-128/ fixesJakub Jelinek2010-01-165-15/+13
|
* Readd definition of __expl in ldbl-128Joseph S. Myers2009-10-281-0/+1
|
* Correct errno handling in expm1.Andreas Schwab2009-10-193-0/+3
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-151-27/+24
|
* Add isinf optimized for 64-bit.Ulrich Drepper2009-08-261-0/+30
|
* Optimized isnan for 64-bit machines.Ulrich Drepper2009-08-261-0/+39
|
* Make llround an alias for lround on 64-bit machines.Ulrich Drepper2009-08-252-0/+14
|
* Optimized nearbyint for 64-bit.Ulrich Drepper2009-08-251-0/+86
|
* Optimized rint implementation for x86-64.Ulrich Drepper2009-08-251-0/+79
|
* Add 64-bit optimized s_round.Ulrich Drepper2009-08-251-0/+77
|
* Optimize out duplicated scalbln code for x86-64.Ulrich Drepper2009-08-251-6/+6
|
* Add 64-bit optimized scalbln.Ulrich Drepper2009-08-251-0/+68
|
* Add 64-bit optimized version lround.Ulrich Drepper2009-08-251-0/+67
|
* 64-bit optimized implementation of trunc.Ulrich Drepper2009-08-251-0/+56
|
* Add ceil implementation for 64-bit machines.Ulrich Drepper2009-08-241-0/+67
| | | | | | | 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 errno for boundary conditions in 128-bit long double.Ulrich Drepper2009-05-294-4/+32
| | | | | Similar to the changes which went already in for the other formats, follow POSIX rules for errno.
* Fix errno for IBM long double.Andreas Schwab2009-05-224-7/+22
| | | | | After the last addition to the math test suite PPC routines haven't been adjusted so far.
* * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper2009-04-272-2/+10
| | | | | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper2009-04-271-1/+1
| | | | atanh should set ERANGE.
* * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper2009-04-261-7/+14
|
* * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper2009-04-262-4/+15
| | | | | | | | | | * 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-2/+2
| | | | | | errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
* * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper2009-04-265-9/+38
| | | | | | | | | | | | | | | | | * 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-2/+2
| | | | | for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
* [BZ #3406]Ulrich Drepper2008-05-111-1/+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/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel.Ulrich Drepper2008-05-104-13/+6
| | | | | | | | | | | (__ieee754_y0l): Likewise. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. (__ieee754_y1l): Likewise. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for frexpl and ldexpl. math_private.h provides them and the latter is not even used. (__log1pl): Use __frexpl.
* * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): UseUlrich Drepper2008-04-121-4/+4
| | | | __nextafter instead of nextafter to avoid local PLT.
* * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto forUlrich Drepper2008-04-125-30/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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.
* [BZ #4407]Ulrich Drepper2008-04-101-0/+6
| | | | | | | 2008-02-12 Pete Eberlein <eberlein@us.ibm.com> [BZ #4407] * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Preserve sign in signgamp when x is zero.
* [BZ #5857]Ulrich Drepper2008-03-242-3/+17
| | | | | | | | | | | 2008-03-09 Andreas Jaeger <aj@suse.de> [BZ #5857] * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. Patch by Mark Elliott <mark.h.elliott@lmco.com>. * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. (rint_test): Likewise.
* [BZ #5753] Andreas Jaeger2008-03-101-4/+4
| | | | | | | * sysdeps/ia64/ieee754.h: Use protected namespace __BIG_ENDIAN/__LITTLE_ENDIAN. * sysdeps/ieee754/ieee754.h: Likewise. Patch by Aurelien Jarno <aurelien@aurel32.net>.
* * include/stdio.h (__asprintf_chk, __dprintf_chk, cvs/fedora-glibc-20080305T0857Ulrich Drepper2008-03-0510-2/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __obstack_printf_chk): New prototypes. (__vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Likewise. Add libc_hidden_proto. * libio/obprintf.c (_IO_obstack_jumps): No longer static, add attribute_hidden. * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): New prototypes. (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, obstack_vprintf): New inlines. * debug/dprintf_chk.c: New file. * debug/vdprintf_chk.c: New file. * debug/asprintf_chk.c: New file. * debug/vasprintf_chk.c: New file. * debug/obprintf_chk.c: New file. * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export @@GLIBC_2.8. * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk and obprintf_chk, set CFLAGS for them. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add libc_hidden_proto. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export @@GLIBC_2.8. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and obstack_vprintf_chk. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file.
* Fix size of union.Andreas Jaeger2007-11-151-2/+2
|