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