binutils214 stage 2/4.
[dragonfly.git] / include / ieeefp.h
CommitLineData
984263bc
MD
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 $ */
17030342 3/* $DragonFly: src/include/ieeefp.h,v 1.4 2004/02/02 05:43:13 dillon Exp $ */
984263bc
MD
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__ */
17030342 19#if !defined(_IEEEFP_INLINED_)
984263bc 20__BEGIN_DECLS
7c4af8e1
MD
21extern fp_rnd_t fpgetround (void);
22extern fp_rnd_t fpsetround (fp_rnd_t);
23extern fp_except_t fpgetmask (void);
24extern fp_except_t fpsetmask (fp_except_t);
25extern fp_except_t fpgetsticky (void);
26extern fp_except_t fpsetsticky (fp_except_t);
984263bc 27__END_DECLS
17030342 28#endif /* !_IEEEFP_INLINED_ */
984263bc
MD
29#endif /* __i386__ */
30
31#endif /* _IEEEFP_H_ */