xref: /freebsd/include/ieeefp.h (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
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