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

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Dec 1 19:39:46 PST 2003


On Tue, Dec 02, 2003 at 09:57:33AM +1100, Bruce Evans wrote:
> On Mon, 1 Dec 2003, Steve Kargl wrote:
> 
> > AFAICT, we can't do the exception handling according to POSIX, because
> > we don't have <fenv.h>, feclearexcept(), and fetestexcept() implemented,
> > yet.
> 
> 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?

-- 
Steve


More information about the freebsd-standards mailing list