Date: Tue, 6 Jul 2004 04:46:09 +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 Makefile src/lib/msun/man rint.3 src/lib/msun/src math.h s_nearbyint.c Message-ID: <200407060446.i664k95J005609@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2004-07-06 04:46:09 UTC FreeBSD src repository Modified files: lib/msun Makefile lib/msun/man rint.3 lib/msun/src math.h Added files: lib/msun/src s_nearbyint.c Log: Add C99's nearbyint{,f}() functions as wrappers around rint(). These trivial implementations are about 25 times slower than rint{,f}() on x86 due to the FP environment save/restore. They should eventually be redone in terms of fegetround() and bit fiddling. Revision Changes Path 1.47 +3 -2 src/lib/msun/Makefile 1.10 +35 -4 src/lib/msun/man/rint.3 1.38 +2 -0 src/lib/msun/src/math.h 1.1 +54 -0 src/lib/msun/src/s_nearbyint.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407060446.i664k95J005609>