1/* $NetBSD: ieeefp.h,v 1.8 2011/03/26 19:51:59 christos Exp $ */ 2 3/* 4 * Written by J.T. Conklin, Apr 6, 1995 5 * Public domain. 6 */ 7 8#ifndef _IEEEFP_H_ 9#define _IEEEFP_H_ 10 11#include <sys/cdefs.h> 12#include <machine/ieeefp.h> 13 14__BEGIN_DECLS 15typedef fp_rnd fp_rnd_t; 16#ifdef _X86_IEEEFP_H_ /* XXX */ 17typedef fp_prec fp_prec_t; 18#endif 19typedef fp_except fp_except_t; 20 21fp_rnd_t fpgetround(void); 22fp_rnd_t fpsetround(fp_rnd_t); 23#ifdef _X86_IEEEFP_H_ /* XXX */ 24fp_prec_t fpgetprec(void); 25fp_prec_t fpsetprec(fp_prec_t); 26#endif 27fp_except_t fpgetmask(void); 28fp_except_t fpsetmask(fp_except_t); 29fp_except_t fpgetsticky(void); 30fp_except_t fpsetsticky(fp_except_t); 31fp_except_t fpresetsticky(fp_except_t); 32__END_DECLS 33 34#endif /* _IEEEFP_H_ */ 35