ieeefp.h revision 60338
1/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */ 2/* $FreeBSD: head/include/ieeefp.h 60338 2000-05-10 19:41:40Z jhb $ */ 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 19extern fp_rnd_t fpgetround __P((void)); 20extern fp_rnd_t fpsetround __P((fp_rnd_t)); 21extern fp_except_t fpgetmask __P((void)); 22extern fp_except_t fpsetmask __P((fp_except_t)); 23extern fp_except_t fpgetsticky __P((void)); 24extern fp_except_t fpsetsticky __P((fp_except_t)); 25__END_DECLS 26#endif /* __i386__ */ 27 28#endif /* _IEEEFP_H_ */ 29