ieeefp.h revision 60335
1/*	$NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $	*/
2/* $FreeBSD: head/include/ieeefp.h 60335 2000-05-10 19:00:45Z obrien $ */
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#ifdef __i386__
16#include <machine/floatingpoint.h>
17#else /* !__i386__ */
18__BEGIN_DECLS
19extern fp_rnd    fpgetround __P((void));
20extern fp_rnd    fpsetround __P((fp_rnd));
21extern fp_except_t fpgetmask __P((void));
22extern fp_except_t fpsetmask __P((fp_except_t));
23extern fp_except_t fpgetsticky __P((void));
24extern fp_except_t fpsetsticky __P((fp_except_t));
25__END_DECLS
26#endif /* __i386__ */
27
28#endif /* _IEEEFP_H_ */
29