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