Implementing C99's roundf(), round(), and roundl()

Bruce Evans bde at zeta.org.au
Mon Dec 1 21:56:51 PST 2003


On Mon, 1 Dec 2003, Steve Kargl wrote:

> On Tue, Dec 02, 2003 at 09:57:33AM +1100, Bruce Evans wrote:
> > RIght, but we have fpgetsticky(), etc.
>
> Can we use fpgetsticky() and friends to implement
> parts of <fenv.h> or does this cause some (disallowed)
> namespace pollution?

Not quite, and yes.  The fp* namespace basically needs to be cloned
instead of layered over.

Bruce


More information about the freebsd-standards mailing list