From owner-freebsd-standards@FreeBSD.ORG Sun Nov 30 14:10:25 2003 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F8CA16A4D0 for ; Sun, 30 Nov 2003 14:10:25 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEA3A43FA3 for ; Sun, 30 Nov 2003 14:10:24 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAUMAOFY083129 for ; Sun, 30 Nov 2003 14:10:24 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAUMAOKp083128; Sun, 30 Nov 2003 14:10:24 -0800 (PST) (envelope-from gnats) Date: Sun, 30 Nov 2003 14:10:24 -0800 (PST) Message-Id: <200311302210.hAUMAOKp083128@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: David Schultz Subject: Re: standards/59797: Implement C99's round[f]() math fucntions X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Schultz List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 22:10:25 -0000 The following reply was made to PR standards/59797; it has been noted by GNATS. From: David Schultz To: "Steven G. Kargl" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: standards/59797: Implement C99's round[f]() math fucntions Date: Sun, 30 Nov 2003 13:58:00 -0800 On Sat, Nov 29, 2003, Steven G. Kargl wrote: > The enclose diff contains an implementation of the round() and > roundf() math functions found in C99. This is C language > implementation and a MD implementation may be preferred, but it > appears to at least supply the missing functionality. Cool. I'll look into committing this after the freeze. You wouldn't feel up to taking care of roundl() too, would you? This unfortunately requires writing ceill() or modfl(), which is tricky because long double representation is somewhat machine dependent...