1 /* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ 2 /* $FreeBSD: src/include/ieeefp.h,v 1.3.2.1 2000/08/17 08:08:14 jhb Exp $ */ 3 /* $DragonFly: src/include/ieeefp.h,v 1.4 2004/02/02 05:43:13 dillon Exp $ */ 4 5 /* 6 * Written by J.T. Conklin, Apr 6, 1995 7 * Public domain. 8 */ 9 10 #ifndef _IEEEFP_H_ 11 #define _IEEEFP_H_ 12 13 #include <sys/cdefs.h> 14 #include <machine/ieeefp.h> 15 16 #ifdef __i386__ 17 #include <machine/floatingpoint.h> 18 #else /* !__i386__ */ 19 #if !defined(_IEEEFP_INLINED_) 20 __BEGIN_DECLS 21 extern fp_rnd_t fpgetround (void); 22 extern fp_rnd_t fpsetround (fp_rnd_t); 23 extern fp_except_t fpgetmask (void); 24 extern fp_except_t fpsetmask (fp_except_t); 25 extern fp_except_t fpgetsticky (void); 26 extern fp_except_t fpsetsticky (fp_except_t); 27 __END_DECLS 28 #endif /* !_IEEEFP_INLINED_ */ 29 #endif /* __i386__ */ 30 31 #endif /* _IEEEFP_H_ */ 32