Date: Wed, 16 Mar 2005 19:03:46 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200503161903.j2GJ3kn1096131@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503161903.j2GJ3kn1096131>