From owner-cvs-src@FreeBSD.ORG Wed Mar 16 19:03:46 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7433016A4CE; Wed, 16 Mar 2005 19:03:46 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CD1743D1D; Wed, 16 Mar 2005 19:03:46 +0000 (GMT) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2GJ3kmY096132; Wed, 16 Mar 2005 19:03:46 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2GJ3kn1096131; Wed, 16 Mar 2005 19:03:46 GMT (envelope-from das) Message-Id: <200503161903.j2GJ3kn1096131@repoman.freebsd.org> From: David Schultz Date: Wed, 16 Mar 2005 19:03:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/msun/alpha fenv.c fenv.h src/lib/msun/amd64 fenv.c fenv.h src/lib/msun/arm fenv.h src/lib/msun/i387 fenv.h src/lib/msun/ia64 fenv.h src/lib/msun/man fenv.3 src/lib/msun/powerpc fenv.h src/lib/msun/sparc64 fenv.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 19:03:46 -0000 das 2005-03-16 19:03:46 UTC FreeBSD src repository Modified files: lib/msun/alpha fenv.c fenv.h lib/msun/amd64 fenv.c fenv.h lib/msun/arm fenv.h lib/msun/i387 fenv.h lib/msun/ia64 fenv.h lib/msun/man fenv.3 lib/msun/powerpc fenv.h lib/msun/sparc64 fenv.h Log: Replace fegetmask() and fesetmask() with feenableexcept(), fedisableexcept(), and fegetexcept(). These two sets of routines provide the same functionality. I implemented the former as an undocumented internal interface to make the regression test easier to write. However, fe(enable|disable|get)except() is already part of glibc, and I would like to avoid gratuitous differences. The only major flaw in the glibc API is that there's no good way to report errors on processors that don't support all the unmasked exceptions. Revision Changes Path 1.2 +19 -6 src/lib/msun/alpha/fenv.c 1.3 +4 -3 src/lib/msun/alpha/fenv.h 1.3 +22 -5 src/lib/msun/amd64/fenv.c 1.4 +4 -3 src/lib/msun/amd64/fenv.h 1.5 +19 -9 src/lib/msun/arm/fenv.h 1.3 +15 -4 src/lib/msun/i387/fenv.h 1.4 +15 -4 src/lib/msun/ia64/fenv.h 1.4 +32 -9 src/lib/msun/man/fenv.3 1.3 +17 -5 src/lib/msun/powerpc/fenv.h 1.3 +19 -9 src/lib/msun/sparc64/fenv.h