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