From owner-cvs-src@FreeBSD.ORG Wed Feb 13 16:56:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67E7016A474; Wed, 13 Feb 2008 16:56:53 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7EE13C4D1; Wed, 13 Feb 2008 16:56:53 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1DGurZd006692; Wed, 13 Feb 2008 16:56:53 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1DGurGG006691; Wed, 13 Feb 2008 16:56:53 GMT (envelope-from bde) Message-Id: <200802131656.m1DGurGG006691@repoman.freebsd.org> From: Bruce Evans Date: Wed, 13 Feb 2008 16:56:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/msun/src s_ceill.c s_floorl.c s_truncl.c src/lib/msun Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Feb 2008 16:56:53 -0000 bde 2008-02-13 16:56:52 UTC FreeBSD src repository Modified files: lib/msun/src s_ceill.c s_floorl.c s_truncl.c lib/msun Makefile Log: On arches where long double is the same as double, alias ceil(), floor() and trunc() to the corresponding long double functions. This is not just an optimization for these arches. The full long double functions have a wrong value for `huge', and the arches without full long doubles depended on it being wrong. Revision Changes Path 1.87 +7 -6 src/lib/msun/Makefile 1.6 +4 -0 src/lib/msun/src/s_ceill.c 1.5 +4 -0 src/lib/msun/src/s_floorl.c 1.6 +4 -0 src/lib/msun/src/s_truncl.c