ahci: centralize, fix port reset
[minix.git] / include / ieeefp.h
blob6708112a4270c1e8c632669e12051682ce8b0ebe
1 /* $NetBSD: ieeefp.h,v 1.9 2011/03/27 05:13:15 mrg Exp $ */
3 /*
4 * Written by J.T. Conklin, Apr 6, 1995
5 * Public domain.
6 */
8 #ifndef _IEEEFP_H_
9 #define _IEEEFP_H_
11 #include <sys/cdefs.h>
12 #include <machine/ieeefp.h>
14 __BEGIN_DECLS
15 typedef fp_rnd fp_rnd_t;
16 #ifdef _X86_IEEEFP_H_ /* XXX */
17 typedef fp_prec fp_prec_t;
18 #endif
19 typedef fp_except fp_except_t;
21 fp_rnd_t fpgetround(void);
22 fp_rnd_t fpsetround(fp_rnd_t);
23 #ifdef _X86_IEEEFP_H_ /* XXX */
24 fp_prec_t fpgetprec(void);
25 fp_prec_t fpsetprec(fp_prec_t);
26 #endif
27 fp_except_t fpgetmask(void);
28 fp_except_t fpsetmask(fp_except_t);
29 fp_except_t fpgetsticky(void);
30 fp_except_t fpsetsticky(fp_except_t);
31 fp_except_t fpresetsticky(fp_except_t);
32 __END_DECLS
34 #endif /* _IEEEFP_H_ */