From 900bec852d0bd53eb27b8b2193899f5cf470b38f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 14 Jun 1997 23:17:05 +0000 Subject: Update. 1997-06-15 00:43 Ulrich Drepper * Makeconfig: Define libc-map here. * Makefile: And remove definition here. * Makerules (load-map-file): Handle case where map file is in other directory. (build-shlib): Likewise. * libc.map: Add more symbols. * resolv/libresolv.map: Likewise. * db/libdb.map: Add __dbopen. Patch by HJ Lu. * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf. * locale/programs/localedef.c: Add normalize_codeset function. We don't want to use the _nl_normalize_codeset functions from libc. * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly. * sysdeps/libm-i387/s_asinhf.S: Likewise. * sysdeps/libm-i387/s_asinhl.S: Likewise. * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function. * sysdeps/libm-i387/s_nearbyintf.S: Likewise. * sysdeps/libm-i387/s_nearbyintl.S: Likewise. 1997-06-14 12:45 Thorsten Kukuk * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent. * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent. * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix _nss_nisplus_gethostbyaddr_r interface. * nis/libnsl.map: Add all GLOBAL functions. 1997-06-13 18:32 Andreas Jaeger * libm-test.c (main): Call new tests, reorder tests. (fmod_test): Test function fmod. (nearbyint_test): Test function nearbyint. (acos_test): Add more test cases. (signbit_test): Test macro signbit. (output_result_bool): Output result if test fails. (asin_test): Add another test case. (atan2_test): Add more tests. (asinh_test): Add more tests. (atanh_test): Add more tests. (hypot_test): Add more tests. (isfinite_test): Test macro isfinite. (isnormal_test): Test macro isnormal. (sincos_test): Tests for sincos. (main): Enable remquo_test since the tests are correct (according to ANSI/IEEE 754-1985). (remquo_test): Corrected tests cases and added more tests. (remainder_test): Tests for remainder. (check_int): New Function to compare int values. (check_isnan_exc_ext): New function. (sqrt_test): Add some extra tests for sqrt. (erf_test): Tests for erf. (erfc_test): Tests for erfc. (gamma_test): Tests for gamma. (lgamma_test): Tests for lgamma. 1997-06-08 10:54 H.J. Lu * sysdeps/unix/sysv/linux/configure.in: Try to generate stdio_lim.h using the target C preprocessor and mk-stdiolim.c. * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for stdio_lim.h. * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the target C preprocessor to extract OPEN_MAX and PATH_MAX. 1997-06-14 17:32 Andreas Jaeger * math/libm.map: Add inline functions, global variables. --- sysdeps/libm-i387/s_asinh.S | 6 +++++- sysdeps/libm-i387/s_asinhf.S | 6 +++++- sysdeps/libm-i387/s_asinhl.S | 6 +++++- sysdeps/libm-i387/s_nearbyint.S | 2 ++ sysdeps/libm-i387/s_nearbyintf.S | 2 ++ sysdeps/libm-i387/s_nearbyintl.S | 2 ++ 6 files changed, 21 insertions(+), 3 deletions(-) (limited to 'sysdeps/libm-i387') diff --git a/sysdeps/libm-i387/s_asinh.S b/sysdeps/libm-i387/s_asinh.S index a71d0b6..45153fe 100644 --- a/sysdeps/libm-i387/s_asinh.S +++ b/sysdeps/libm-i387/s_asinh.S @@ -1,5 +1,5 @@ /* ix87 specific implementation of arcsinh. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -51,8 +51,12 @@ ENTRY(__asinh) andl $0x80000000, %ecx xorl %ecx, 8(%esp) fldl 4(%esp) // |x| + movl %eax, %edx cmpl $0x3e300000, %eax jb 2f // |x| < 2^-28 + orl $0x800fffff, %edx + incl %edx + jz 4f // x in ħInf or NaN fldln2 // log(2) : |x| cmpl $0x41b00000, %eax fxch // |x| : log(2) diff --git a/sysdeps/libm-i387/s_asinhf.S b/sysdeps/libm-i387/s_asinhf.S index f47bc9e..7e5176c 100644 --- a/sysdeps/libm-i387/s_asinhf.S +++ b/sysdeps/libm-i387/s_asinhf.S @@ -1,5 +1,5 @@ /* ix87 specific implementation of arcsinh. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -51,8 +51,12 @@ ENTRY(__asinhf) andl $0x80000000, %ecx xorl %ecx, 8(%esp) flds 4(%esp) // |x| + movl %eax, %edx cmpl $0x38000000, %eax jb 2f // |x| < 2^-14 + orl $0x807fffff, %edx + incl %edx + jz 4f // x in ħInf or NaN fldln2 // log(2) : |x| cmpl $0x47000000, %eax fxch // |x| : log(2) diff --git a/sysdeps/libm-i387/s_asinhl.S b/sysdeps/libm-i387/s_asinhl.S index e112244..f764381 100644 --- a/sysdeps/libm-i387/s_asinhl.S +++ b/sysdeps/libm-i387/s_asinhl.S @@ -1,5 +1,5 @@ /* ix87 specific implementation of arcsinh. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -58,8 +58,12 @@ ENTRY(__asinhl) andl $0x8000, %ecx xorl %ecx, 12(%esp) fldt 4(%esp) // |x| + movl %eax, %edx cmpl $0x3fde, %eax jb 2f // |x| < 2^-34 + orl $0xffff8000, %edx + incl %edx + jz 4f // x in ħInf or NaN fldln2 // log(2) : |x| cmpl $0x4020, %eax fxch // |x| : log(2) diff --git a/sysdeps/libm-i387/s_nearbyint.S b/sysdeps/libm-i387/s_nearbyint.S index 566c075..65ce4f7 100644 --- a/sysdeps/libm-i387/s_nearbyint.S +++ b/sysdeps/libm-i387/s_nearbyint.S @@ -18,6 +18,8 @@ ENTRY(__nearbyint) frndint fclex fldcw (%esp) + popl %ecx + popl %eax ret END (__nearbyint) weak_alias (__nearbyint, nearbyint) diff --git a/sysdeps/libm-i387/s_nearbyintf.S b/sysdeps/libm-i387/s_nearbyintf.S index 7154340..090c631 100644 --- a/sysdeps/libm-i387/s_nearbyintf.S +++ b/sysdeps/libm-i387/s_nearbyintf.S @@ -18,6 +18,8 @@ ENTRY(__nearbyintf) frndint fclex fldcw (%esp) + popl %ecx + popl %eax ret END (__nearbyintf) weak_alias (__nearbyintf, nearbyintf) diff --git a/sysdeps/libm-i387/s_nearbyintl.S b/sysdeps/libm-i387/s_nearbyintl.S index c50b42d..2f60af8 100644 --- a/sysdeps/libm-i387/s_nearbyintl.S +++ b/sysdeps/libm-i387/s_nearbyintl.S @@ -18,6 +18,8 @@ ENTRY(__nearbyintl) frndint fclex fldcw (%esp) + popl %ecx + popl %eax ret END (__nearbyintl) weak_alias (__nearbyintl, nearbyintl) -- cgit v1.1