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