From owner-cvs-lib Sun Feb 16 09:38:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA14559 for cvs-lib-outgoing; Sun, 16 Feb 1997 09:38:14 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA14552; Sun, 16 Feb 1997 09:38:12 -0800 (PST) Date: Sun, 16 Feb 1997 09:38:12 -0800 (PST) From: Bruce Evans Message-Id: <199702161738.JAA14552@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/msun/i387 e_exp.S Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/16 09:38:12 Modified: lib/msun/i387 e_exp.S Log: Fixed the i87 version of exp(). It returned NaN for args +-Inf. It had some small (one or two ULP) inaccuracies. Found by: ucbtest Revision Changes Path 1.5 +42 -0 src/lib/msun/i387/e_exp.S From owner-cvs-lib Sun Feb 16 09:40:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA14710 for cvs-lib-outgoing; Sun, 16 Feb 1997 09:40:15 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA14703; Sun, 16 Feb 1997 09:40:12 -0800 (PST) Date: Sun, 16 Feb 1997 09:40:12 -0800 (PST) From: Bruce Evans Message-Id: <199702161740.JAA14703@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/msun/i387 e_exp.S Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/16 09:40:12 Branch: lib/msun/i387 RELENG_2_2 Modified: lib/msun/i387 e_exp.S Log: YAMFC (fixed exp(+-Inf), etc.). Revision Changes Path 1.3.2.1 +43 -1 src/lib/msun/i387/e_exp.S From owner-cvs-lib Sun Feb 16 09:55:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15384 for cvs-lib-outgoing; Sun, 16 Feb 1997 09:55:06 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15369; Sun, 16 Feb 1997 09:55:03 -0800 (PST) Date: Sun, 16 Feb 1997 09:55:03 -0800 (PST) From: Bruce Evans Message-Id: <199702161755.JAA15369@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libF77 r_lg10.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/16 09:55:01 Modified: lib/libF77 r_lg10.c Log: Use the C library version of log10() instead of the inaccurate formula log10(x) = log10e * log(x). The formula would work if the RHS were evaluated in extended precision with an extended precision log(). This actually happened with the i387 log() because it returns excess precision. Found by: ucbtest Revision Changes Path 1.2 +1 -3 src/lib/libF77/r_lg10.c From owner-cvs-lib Sun Feb 16 09:55:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15495 for cvs-lib-outgoing; Sun, 16 Feb 1997 09:55:43 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15488; Sun, 16 Feb 1997 09:55:42 -0800 (PST) Date: Sun, 16 Feb 1997 09:55:42 -0800 (PST) From: Bruce Evans Message-Id: <199702161755.JAA15488@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libF77 r_lg10.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/16 09:55:42 Branch: lib/libF77 RELENG_2_2 Modified: lib/libF77 r_lg10.c Log: YAMFC (use log10() instead of a home made version). Revision Changes Path 1.1.1.1.8.1 +1 -3 src/lib/libF77/r_lg10.c From owner-cvs-lib Sun Feb 16 10:28:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA17899 for cvs-lib-outgoing; Sun, 16 Feb 1997 10:28:11 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA17807; Sun, 16 Feb 1997 10:26:35 -0800 (PST) Date: Sun, 16 Feb 1997 10:26:35 -0800 (PST) From: Bruce Evans Message-Id: <199702161826.KAA17807@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-sys, cvs-etc Subject: cvs commit: src/lib/msun Makefile src/etc make.conf src/lib/msun/src get_hw_float.c e_acos.c e_asin.c e_atan2.c e_exp.c e_fmod.c e_log.c e_log10.c e_remainder.c e_scalb.c e_sqrt.c s_atan.c s_ceil.c s_copysign.c s_cos.c s_finite.c s_floor.c s_ilogb.c s_logb.c s_rint.c s_scalbn.c s_significand.c s_sin.c s_tan.c src/sys/i386/include asmacros.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/16 10:26:33 Modified: etc make.conf lib/msun Makefile lib/msun/src e_acos.c e_asin.c e_atan2.c e_exp.c e_fmod.c e_log.c e_log10.c e_remainder.c e_scalb.c e_sqrt.c s_atan.c s_ceil.c s_copysign.c s_cos.c s_finite.c s_floor.c s_ilogb.c s_logb.c s_rint.c s_scalbn.c s_significand.c s_sin.c s_tan.c sys/i386/include asmacros.h Added: lib/msun/src get_hw_float.c Log: Select between the generic math functions and the i387-specific ones at runtime. etc/make.conf: Nuked HAVE_FPU option. lib/msun/Makefile: Always build the i387 objects. Copy the i387 source files at build time so that the i387 objects have different names. This is simpler than renaming the files in the cvs repository or repeating half of bsd.lib.mk to add explicit rules. lib/msun/src/*.c: Renamed all functions that have an i387-specific version by adding `__generic_' to their names. lib/msun/src/get_hw_float.c: New file for getting machdep.hw_float from the kernel. sys/i386/include/asmacros.h: Abuse the ENTRY() macro to generate jump vectors and associated code. This works much like PIC PLT dynamic initialization. The PIC case is messy. The old i387 entry points are renamed. Renaming is easier here because the names are given by macro expansions. Revision Changes Path 1.42 +0 -6 src/etc/make.conf 1.16 +13 -9 src/lib/msun/Makefile 1.4 +2 -2 src/lib/msun/src/e_acos.c 1.5 +2 -2 src/lib/msun/src/e_asin.c 1.5 +2 -2 src/lib/msun/src/e_atan2.c 1.5 +2 -2 src/lib/msun/src/e_exp.c 1.4 +2 -2 src/lib/msun/src/e_fmod.c 1.4 +2 -2 src/lib/msun/src/e_log.c 1.5 +2 -2 src/lib/msun/src/e_log10.c 1.4 +2 -2 src/lib/msun/src/e_remainder.c 1.4 +4 -4 src/lib/msun/src/e_scalb.c 1.4 +2 -2 src/lib/msun/src/e_sqrt.c 1.4 +2 -2 src/lib/msun/src/s_atan.c 1.4 +2 -2 src/lib/msun/src/s_ceil.c 1.4 +2 -2 src/lib/msun/src/s_copysign.c 1.4 +2 -2 src/lib/msun/src/s_cos.c 1.4 +2 -2 src/lib/msun/src/s_finite.c 1.4 +2 -2 src/lib/msun/src/s_floor.c 1.4 +2 -2 src/lib/msun/src/s_ilogb.c 1.4 +2 -2 src/lib/msun/src/s_logb.c 1.5 +2 -2 src/lib/msun/src/s_rint.c 1.4 +2 -2 src/lib/msun/src/s_scalbn.c 1.4 +2 -2 src/lib/msun/src/s_significand.c 1.4 +2 -2 src/lib/msun/src/s_sin.c 1.4 +2 -2 src/lib/msun/src/s_tan.c 1.12 +77 -0 src/sys/i386/include/asmacros.h From owner-cvs-lib Sun Feb 16 14:32:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA02033 for cvs-lib-outgoing; Sun, 16 Feb 1997 14:32:21 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA02021; Sun, 16 Feb 1997 14:32:19 -0800 (PST) Date: Sun, 16 Feb 1997 14:32:19 -0800 (PST) From: Wolfram Schneider Message-Id: <199702162232.OAA02021@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 97/02/16 14:32:18 Modified: lib/libc/gen Makefile.inc Log: Add forgotten man page link fts_set.3 -> fts.3 Revision Changes Path 1.25 +1 -1 src/lib/libc/gen/Makefile.inc From owner-cvs-lib Sun Feb 16 14:33:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA02121 for cvs-lib-outgoing; Sun, 16 Feb 1997 14:33:03 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA02046; Sun, 16 Feb 1997 14:32:26 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id OAA15474; Sun, 16 Feb 1997 14:32:24 -0800 (PST) To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: Re: cvs commit: src/lib/msun Makefile src/etc make.conf src/lib/msun/src get_hw_float.c e_acos.c e_asin.c e_atan2.c e_exp.c e_fmod.c e_log.c e_log10.c e_remainder.c e_scalb.c e_sqrt.c s_atan.c s_ceil.c s_copysign.c s_cos.c s_finite.c s_floor.c s_ilogb.c s_logb.c s_rint.c s_scalbn.c s_significand.c s_sin.c s_tan.c src/sys/i386/include asmacros.h In-reply-to: Your message of "Sun, 16 Feb 1997 10:26:35 PST." <199702161826.KAA17807@freefall.freebsd.org> Date: Sun, 16 Feb 1997 14:32:24 -0800 Message-ID: <15471.856132344@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > etc/make.conf: > Nuked HAVE_FPU option. And there was wild applause! :-) Jordan From owner-cvs-lib Mon Feb 17 06:50:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA18873 for cvs-lib-outgoing; Mon, 17 Feb 1997 06:50:45 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA18865; Mon, 17 Feb 1997 06:50:43 -0800 (PST) Date: Mon, 17 Feb 1997 06:50:43 -0800 (PST) From: Mike Pritchard Message-Id: <199702171450.GAA18865@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/02/17 06:50:43 Branch: lib/libc/gen RELENG_2_2 Modified: lib/libc/gen Makefile.inc Log: YAMFC: From rev 1.25: MLINK fts_set.3 -> fts.3 Revision Changes Path 1.22.2.1 +2 -2 src/lib/libc/gen/Makefile.inc From owner-cvs-lib Wed Feb 19 22:50:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA22142 for cvs-lib-outgoing; Wed, 19 Feb 1997 22:50:36 -0800 (PST) Received: (from danny@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA22135; Wed, 19 Feb 1997 22:50:34 -0800 (PST) Date: Wed, 19 Feb 1997 22:50:34 -0800 (PST) From: "Daniel O'Callaghan" Message-Id: <199702200650.WAA22135@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen signal.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk danny 97/02/19 22:50:33 Modified: lib/libc/gen signal.3 Log: Typogrammatical error 'with' -> 'when'. This could be put into 2.2. Revision Changes Path 1.9 +1 -1 src/lib/libc/gen/signal.3 From owner-cvs-lib Wed Feb 19 23:06:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23555 for cvs-lib-outgoing; Wed, 19 Feb 1997 23:06:00 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23543; Wed, 19 Feb 1997 23:05:54 -0800 (PST) Date: Wed, 19 Feb 1997 23:05:54 -0800 (PST) From: Mike Pritchard Message-Id: <199702200705.XAA23543@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen signal.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/02/19 23:05:53 Branch: lib/libc/gen RELENG_2_2 Modified: lib/libc/gen signal.3 Log: YAMFC: sort xrefs and fix typo. Revision Changes Path 1.7.2.1 +2 -2 src/lib/libc/gen/signal.3 From owner-cvs-lib Thu Feb 20 04:37:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA09926 for cvs-lib-outgoing; Thu, 20 Feb 1997 04:37:57 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA09916; Thu, 20 Feb 1997 04:37:54 -0800 (PST) Date: Thu, 20 Feb 1997 04:37:54 -0800 (PST) From: Bruce Evans Message-Id: <199702201237.EAA09916@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/msun/i387 e_acos.S e_asin.S Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/20 04:37:52 Modified: lib/msun/i387 e_acos.S e_asin.S Log: Compute (1 - x^2) as ((1 - x) * (1 + x)) instead of as (1 - x * x) to avoid easily avoidable loss of precision when |x| is nearly 1. Extended (64-bit) precision only moves the meaning of "nearly" here. This probably could be done better by splitting up the range into |x| <= 0.5 and |x| > 0.5 like the C version. However, ucbtest does't report any errors in this version. Perhaps the C version should be used anyway. It's only 25% slower now on a P5, provided the C version of sqrt() isn't used, and the C version could be optimized better. Errors checked by: ucbtest Revision Changes Path 1.4 +12 -6 src/lib/msun/i387/e_acos.S 1.4 +11 -5 src/lib/msun/i387/e_asin.S From owner-cvs-lib Thu Feb 20 05:14:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA11643 for cvs-lib-outgoing; Thu, 20 Feb 1997 05:14:10 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA11636; Thu, 20 Feb 1997 05:14:08 -0800 (PST) Date: Thu, 20 Feb 1997 05:14:08 -0800 (PST) From: Bruce Evans Message-Id: <199702201314.FAA11636@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/msun/src w_jn.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/20 05:14:07 Modified: lib/msun/src w_jn.c Log: Removed misplaced duplicate of comment about implementation details. Revision Changes Path 1.4 +0 -22 src/lib/msun/src/w_jn.c From owner-cvs-lib Thu Feb 20 05:35:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA12714 for cvs-lib-outgoing; Thu, 20 Feb 1997 05:35:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA12707; Thu, 20 Feb 1997 05:35:17 -0800 (PST) Date: Thu, 20 Feb 1997 05:35:17 -0800 (PST) From: Bruce Evans Message-Id: <199702201335.FAA12707@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/msun Makefile src/lib/msun/src w_y0.c w_y0f.c w_y1.c w_y1f.c w_yn.c w_ynf.c w_j0.c w_j0f.c w_j1.c w_j1f.c w_jn.c w_jnf.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/02/20 05:35:16 Modified: lib/msun Makefile lib/msun/src w_j0.c w_j0f.c w_j1.c w_j1f.c w_jn.c w_jnf.c Added: lib/msun/src w_y0.c w_y0f.c w_y1.c w_y1f.c w_yn.c w_ynf.c Log: Split up the Bessel function wrapper files so that most wrapper functions are in their own file. Revision Changes Path 1.17 +2 -1 src/lib/msun/Makefile 1.4 +1 -29 src/lib/msun/src/w_j0.c 1.4 +1 -30 src/lib/msun/src/w_j0f.c 1.4 +1 -29 src/lib/msun/src/w_j1.c 1.4 +1 -30 src/lib/msun/src/w_j1f.c 1.5 +1 -29 src/lib/msun/src/w_jn.c 1.4 +0 -29 src/lib/msun/src/w_jnf.c From owner-cvs-lib Fri Feb 21 21:16:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA21881 for cvs-lib-outgoing; Fri, 21 Feb 1997 21:16:13 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA21873; Fri, 21 Feb 1997 21:16:12 -0800 (PST) Date: Fri, 21 Feb 1997 21:16:12 -0800 (PST) From: Nate Williams Message-Id: <199702220516.VAA21873@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libopie Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 97/02/21 21:16:11 Branch: lib/libopie RELENG_2_2 Modified: lib/libopie Makefile Log: Changed FreeBSD -> Id in the release, since the whole FreeBSD matter is unresolved and the tools don't support it. It's better to not ship *anything* with the new ID until things are resolved. Revision Changes Path 1.1.1.1.2.1 +1 -1 src/lib/libopie/Makefile From owner-cvs-lib Sat Feb 22 03:38:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA01591 for cvs-lib-outgoing; Sat, 22 Feb 1997 03:38:25 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA01582; Sat, 22 Feb 1997 03:38:23 -0800 (PST) Date: Sat, 22 Feb 1997 03:38:23 -0800 (PST) From: Peter Wemm Message-Id: <199702221138.DAA01582@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libz Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/02/22 03:38:22 Modified: lib/libz Makefile Log: Back out an easy $FreeBSD$ Revision Changes Path 1.5 +1 -1 src/lib/libz/Makefile From owner-cvs-lib Sat Feb 22 11:32:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA06676 for cvs-lib-outgoing; Sat, 22 Feb 1997 11:32:56 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA06654; Sat, 22 Feb 1997 11:32:52 -0800 (PST) Date: Sat, 22 Feb 1997 11:32:52 -0800 (PST) From: Joerg Wunsch Message-Id: <199702221932.LAA06654@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/db/hash ndbm.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/02/22 11:32:51 Branch: lib/libc/db/hash RELENG_2_2 Modified: lib/libc/db/hash ndbm.c Log: YAMFC (rev 1.5: prevent buffer overrung) Revision Changes Path 1.4.2.1 +6 -0 src/lib/libc/db/hash/ndbm.c From owner-cvs-lib Sat Feb 22 12:17:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA15018 for cvs-lib-outgoing; Sat, 22 Feb 1997 12:17:25 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA15010; Sat, 22 Feb 1997 12:17:24 -0800 (PST) Date: Sat, 22 Feb 1997 12:17:24 -0800 (PST) From: Joerg Wunsch Message-Id: <199702222017.MAA15010@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/locale setlocale.c table.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/02/22 12:17:23 Branch: lib/libc/locale RELENG_2_2 Modified: lib/libc/locale setlocale.c table.c Log: YAMFC (rev 1.19 and 1.8, resp; move _PathLocale into table.c) Revision Changes Path 1.8.2.6 +2 -4 src/lib/libc/locale/setlocale.c 1.6.2.1 +3 -1 src/lib/libc/locale/table.c