xref: /freebsd/include/ieeefp.h (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
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 #if !defined(_IEEEFP_INLINED_)
16 __BEGIN_DECLS
17 extern fp_rnd_t    fpgetround(void);
18 extern fp_rnd_t    fpsetround(fp_rnd_t);
19 extern fp_except_t fpgetmask(void);
20 extern fp_except_t fpsetmask(fp_except_t);
21 extern fp_except_t fpgetsticky(void);
22 extern fp_except_t fpsetsticky(fp_except_t);
23 __END_DECLS
24 #endif /* !_IEEEFP_INLINED_ */
25 
26 #endif /* _IEEEFP_H_ */
27