]>
git.proxmox.com Git - mirror_edk2.git/blob - StdLib/Include/ieeefp.h
1 /* $NetBSD: ieeefp.h,v 1.9 2011/03/27 05:13:15 mrg Exp $ */
4 * Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.
6 * This program and the accompanying materials
7 * are licensed and made available under the terms and conditions of the BSD License
8 * which accompanies this distribution. The full text of the license may be found at
9 * http://opensource.org/licenses/bsd-license.php
11 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 * Written by J.T. Conklin, Apr 6, 1995
23 #include <sys/cdefs.h>
24 #include <machine/ieeefp.h>
27 typedef fp_rnd fp_rnd_t
;
28 #ifdef _X86_IEEEFP_H_ /* XXX */
29 typedef fp_prec fp_prec_t
;
31 typedef fp_except fp_except_t
;
33 fp_rnd_t
fpgetround(void);
34 fp_rnd_t
fpsetround(fp_rnd_t
);
35 #ifdef _X86_IEEEFP_H_ /* XXX */
36 fp_prec_t
fpgetprec(void);
37 fp_prec_t
fpsetprec(fp_prec_t
);
39 fp_except_t
fpgetmask(void);
40 fp_except_t
fpsetmask(fp_except_t
);
41 fp_except_t
fpgetsticky(void);
42 fp_except_t
fpsetsticky(fp_except_t
);
43 fp_except_t
fpresetsticky(fp_except_t
);
46 #endif /* _IEEEFP_H_ */