mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
29 lines
659 B
C
29 lines
659 B
C
/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */
|
|
/* $FreeBSD$ */
|
|
|
|
/*
|
|
* Written by J.T. Conklin, Apr 6, 1995
|
|
* Public domain.
|
|
*/
|
|
|
|
#ifndef _IEEEFP_H_
|
|
#define _IEEEFP_H_
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <machine/ieeefp.h>
|
|
|
|
#ifdef __i386__
|
|
#include <machine/floatingpoint.h>
|
|
#else /* !__i386__ */
|
|
__BEGIN_DECLS
|
|
extern fp_rnd_t fpgetround __P((void));
|
|
extern fp_rnd_t fpsetround __P((fp_rnd_t));
|
|
extern fp_except_t fpgetmask __P((void));
|
|
extern fp_except_t fpsetmask __P((fp_except_t));
|
|
extern fp_except_t fpgetsticky __P((void));
|
|
extern fp_except_t fpsetsticky __P((fp_except_t));
|
|
__END_DECLS
|
|
#endif /* __i386__ */
|
|
|
|
#endif /* _IEEEFP_H_ */
|