1998-12-23 06:50:52 -05:00
|
|
|
/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */
|
2000-05-10 15:00:45 -04:00
|
|
|
/* $FreeBSD$ */
|
1998-12-23 06:50:52 -05:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Written by J.T. Conklin, Apr 6, 1995
|
|
|
|
|
* Public domain.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _IEEEFP_H_
|
|
|
|
|
#define _IEEEFP_H_
|
|
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
#include <machine/ieeefp.h>
|
|
|
|
|
|
1999-03-05 13:15:05 -05:00
|
|
|
#ifdef __i386__
|
1998-12-23 06:50:52 -05:00
|
|
|
#include <machine/floatingpoint.h>
|
1999-03-05 13:15:05 -05:00
|
|
|
#else /* !__i386__ */
|
1999-06-22 13:08:25 -04:00
|
|
|
__BEGIN_DECLS
|
2000-05-10 15:41:40 -04:00
|
|
|
extern fp_rnd_t fpgetround __P((void));
|
|
|
|
|
extern fp_rnd_t fpsetround __P((fp_rnd_t));
|
2000-05-10 15:00:45 -04:00
|
|
|
extern fp_except_t fpgetmask __P((void));
|
|
|
|
|
extern fp_except_t fpsetmask __P((fp_except_t));
|
|
|
|
|
extern fp_except_t fpgetsticky __P((void));
|
|
|
|
|
extern fp_except_t fpsetsticky __P((fp_except_t));
|
1999-06-22 13:08:25 -04:00
|
|
|
__END_DECLS
|
1999-03-05 13:15:05 -05:00
|
|
|
#endif /* __i386__ */
|
1998-12-23 06:50:52 -05:00
|
|
|
|
|
|
|
|
#endif /* _IEEEFP_H_ */
|