Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 15:30:28 -0800 (PST)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/59797: Implement C99's round[f]() math fucntions
Message-ID:  <200311302330.hAUNUSXZ090347@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/59797; it has been noted by GNATS.

From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To: David Schultz <das@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: standards/59797: Implement C99's round[f]() math fucntions
Date: Sun, 30 Nov 2003 15:24:27 -0800 (PST)

 David Schultz wrote:
 > 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?
 
 roundl() will be trivial if we have ceill().
 
 > This unfortunately requires writing ceill() or modfl(), which is
 > tricky because long double representation is somewhat machine
 > dependent...
 
 I'll need to understand the bit twiddling in ceil() before I
 can tackle ceill().
 
 -- 
 Steve
 http://troutmask.apl.washington.edu/~kargl/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311302330.hAUNUSXZ090347>