summaryrefslogtreecommitdiff
path: root/libc/sysdeps/ieee754
AgeCommit message (Collapse)Author
2010-04-14Merge changes between r10202 and r10245 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@10246 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2010-01-26Merge changes between r9569 and r9736 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@9737 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-11-19 * option-groups.def (OPTION_EGLIBC_LIBM_BIG): New option group.maxim
* option-groups.defaults (OPTION_EGLIBC_LIBM_BIG): Set. * configure.in: Handle OPTION_EGLIBC_LIBM_BIG. * configure: Regenerate. * math/Makefile (tests: atest-*): Condition on OPTION_EGLIBC_LIBM_BIG. (libm-test.stmt): Override default result checking precision. * math/gen-libm-test.pl (default_ulp): New variable. Use it to override default precision with which test results are checked. * math/libm-test.inc (MANT_DIG): Handle [l]dbl-wrap math. * math/test-dbl-wrap: New test. * sysdeps/ieee754/ldbl-128/s_erfl.c, * sysdeps/ieee754/ldbl-128/s_log1pl.c, * sysdeps/ieee754/ldbl-128ibm/s_erfl.c, * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c, * sysdeps/ieee754/ldbl-96/s_erfl.c, * sysdeps/ieee754/ldbl-opt/s_atan.c, * sysdeps/ieee754/ldbl-opt/s_sin.c, * sysdeps/ieee754/ldbl-opt/s_tan.c: Handle !OPTION_EGLIBC_LIBM_BIG. * sysdeps/ieee754/dbl-wrap/dbl-wrap.h, * sysdeps/ieee754/dbl-wrap/dosincos.c, * sysdeps/ieee754/dbl-wrap/e_asin.c, * sysdeps/ieee754/dbl-wrap/e_atan2.c, * sysdeps/ieee754/dbl-wrap/e_exp.c, * sysdeps/ieee754/dbl-wrap/e_exp2.c, * sysdeps/ieee754/dbl-wrap/e_log.c, * sysdeps/ieee754/dbl-wrap/e_pow.c, * sysdeps/ieee754/dbl-wrap/s_atan.c, * sysdeps/ieee754/dbl-wrap/s_sin.c, * sysdeps/ieee754/dbl-wrap/s_tan.c, * sysdeps/ieee754/ldbl-wrap/e_acosl.c, * sysdeps/ieee754/ldbl-wrap/e_asinl.c, * sysdeps/ieee754/ldbl-wrap/e_expl.c, * sysdeps/ieee754/ldbl-wrap/e_j0l.c, * sysdeps/ieee754/ldbl-wrap/e_j1l.c, * sysdeps/ieee754/ldbl-wrap/e_lgammal_r.c, * sysdeps/ieee754/ldbl-wrap/e_powl.c, * sysdeps/ieee754/ldbl-wrap/ldbl-wrap.h, * sysdeps/ieee754/ldbl-wrap/s_erfl.c, * sysdeps/ieee754/ldbl-wrap/s_log1pl.c: New files. git-svn-id: svn://svn.eglibc.org/trunk@9303 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-11-09 * libio/fileops.c, libio/iosetbuffer.c,maxim
* nptl/sysdeps/pthread/small-macros-fns.c, posix/fnmatch_loop.c, * posix/regcomp.c, posix/regexec.c, stdio-common/tst-sprintf.c, * stdio-common/tstdiomisc.c, sysdeps/ieee754/ldbl-opt/nldbl-compat.c, * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Explicitly include <gnu/option-groups.h>. git-svn-id: svn://svn.eglibc.org/trunk@9212 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-10-28Merge changes between r9122 and r9152 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@9153 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-10-22Merge changes between r9028 and r9122 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@9123 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-09-30Merge changes between r8915 and r9028 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@9029 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-09-03Merge changes between r8878 and r8915 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8916 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-08-26Merge changes between r8871 and r8878 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8879 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-08-25Merge changes between r8789 and r8871 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8872 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-07-29Regenerate all configure scripts with Autoconf 2.63.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8724 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-06-26 Make --disable-versioning work.maxim
* scripts/versions.awk (versioning): New parameter, don't output version information if it is defined to 'no'. * include/shlib-compat.h (IS_IN_libc, versioned_symbol), (versioned_symbol_1): Define when !DO_VERSIONING. (invisible_compat_symbol): Define, instead of compat_symbol when appropriate. * include/libc-symbols.h (default_symbol_version): Define when !DO_VERSIONING. (versioned_weak): Define. * Makerules: Generate version maps when !DO_VERSIONING to properly set symbol binding. (abi_versions_file): Define, use instead of abi-versions.h. (libc_gcclibs): Define, link against libgcc_eh when !DO_VERSIONING. * extra-lib.mk, elf/Makefile: Update, handle --disable-versioning. * elf/do-rel.h: Handle !DO_VERSIONING. * sysdeps/powerpc/powerpc32/dl-machine.c: Don't error when !DO_VERSIONING. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Define stuff when !DO_VERSIONING. * nptl/pthread_kill_other_threads.c (compat_symbol): Surround with ifdef DO_VERSIONING. * sysdeps/wordsize-32/divdi3.c: Use invisible_compat_symbol. * nptl/Makefile (tst-_res1): Disable test when !DO_VERSIONING. * sysdeps/powerpc/longjmp.c (_longjmp, longjmp, siglongjmp): Update. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_weak_alias): Update. * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (__isinfl): Update. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (finitel): Update. * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (__isnanl): Update. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (wcstold_l, strtold_l): Update. git-svn-id: svn://svn.eglibc.org/trunk@8608 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-06-01Merge changes between r8486 and r8519 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8520 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-05-22Merge changes between r8463 and r8486 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8487 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-04-30Merge changes between r8303 and r8393 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@8394 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2009-01-22 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Handlemaxim
WIDE_CHAR_DEVICE_IO option group. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl_vfwscanf) (__nldbl_vswscanf, __nldbl_vfwprintf, __nldbl_vswprintf) (__nldbl___vfwprintf_chk, __nldbl___vswprintf_chk): Condition declarations and defitions on WIDE_CHAR_DEVICE_IO option group. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_vfwscanf) (__nldbl_vfwprintf, __nldbl_vswprintf, __nldbl_vswscanf) (__nldbl___vfwprintf_chk, __nldbl___vswprintf_chk): Condition declarations on WIDE_CHAR_DEVICE_IO option group. git-svn-id: svn://svn.eglibc.org/trunk@7776 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2008-05-12Merge changes between r6123 and r6154 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@6155 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2008-04-12Merge changes between r5879 and r5900 from /fsf/trunk.joseph
Also: * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Also test __NO_FPRS__. git-svn-id: svn://svn.eglibc.org/trunk@5901 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2008-04-10Merge changes between r5759 and r5854 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@5855 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2008-03-27Merge changes between r5247 and r5678 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@5679 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2008-02-20Merge changes between r4014 and r5247 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@5248 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2008-02-11 [BZ #3406]joseph
* sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. * math/libm-test.inc (exp_test): Test 88.72269439697265625. git-svn-id: svn://svn.eglibc.org/trunk@5132 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-12-132007-12-13 Sandra Loosemore <sandra@codesourcery.com>sandra
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Make strfmon and strfmon_l conditional on OPTION_EGLIBC_LOCALE_CODE. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vstrfmon, __nldbl___vstrfmon_l, __nldbl___strfmon, __nldbl___strfmon_l): Make conditional on __OPTION_EGLIBC_LOCALE_CODE. git-svn-id: svn://svn.eglibc.org/trunk@4527 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-10-08Merge changes between r3614 and r3746 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@3747 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-09-25Merge changes between r3467 and r3614 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@3615 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-09-12Merge changes between r2424 and r3467 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@3468 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-06-06Merge changes between r2393 and r2424 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@2425 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-04-17Merge changes between r1968 and r2007 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@2008 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-03-18Merge changes between r1382 and r1748 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@1749 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2007-02-05Merge changes between r1192 and r1382 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@1383 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2006-11-092006-11-09 Steven Munroe <sjmunroe@us.ibm.com>joseph
Joe Kerian <jkerian@us.us.ibm.com> [BZ #2749] * soft-fp/fenv_libc.h: New file. * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact and overflow for infinity. (_FP_PACK_SEMIRAW): Update comment. Do not round if NaN. * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow handling for high words. * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. (__copysignl): Use signbit() for comparison. * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: [BZ #2423, #2749] * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. (__ceill): Remove calls to fegetround(), fesetround(). * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. git-svn-id: svn://svn.eglibc.org/trunk@640 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2006-09-29Merge changes between r76 and r285 from /fsf/trunk.joseph
git-svn-id: svn://svn.eglibc.org/trunk@286 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2006-08-23 [BZ #2592]joseph
* math/libm-test.inc (lrint_test_tonearest): New. (lrint_test_towardzero): New. (lrint_test_downward): New. (lrint_test_upward): New. (main): Run these new tests. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding of values near to 0. (two52): Use double not long double. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. (two23): Use float not double. * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. (two23): Use float not double. * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. git-svn-id: svn://svn.eglibc.org/trunk@82 7b3dc134-2b1b-0410-93df-9e9f96275f8d
2006-08-17Import glibc-mainline for 2006-08-16gcc
git-svn-id: svn://svn.eglibc.org/fsf/trunk@4 7b3dc134-2b1b-0410-93df-9e9f96275f8d