]>
Commit | Line | Data |
---|---|---|
3352b62b N |
1 | /* $NetBSD: ieeefp.h,v 1.9 2011/03/27 05:13:15 mrg Exp $ */\r |
2 | /** @file\r | |
3 | *\r | |
4 | * Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.\r | |
5 | *\r | |
6 | * This program and the accompanying materials\r | |
7 | * are licensed and made available under the terms and conditions of the BSD License\r | |
8 | * which accompanies this distribution. The full text of the license may be found at\r | |
9 | * http://opensource.org/licenses/bsd-license.php\r | |
10 | *\r | |
11 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | *\r | |
14 | **/\r | |
15 | /*\r | |
16 | * Written by J.T. Conklin, Apr 6, 1995\r | |
17 | * Public domain.\r | |
18 | */\r | |
19 | \r | |
20 | #ifndef _IEEEFP_H_\r | |
21 | #define _IEEEFP_H_\r | |
22 | \r | |
23 | #include <sys/cdefs.h>\r | |
24 | #include <machine/ieeefp.h>\r | |
25 | \r | |
26 | __BEGIN_DECLS\r | |
27 | typedef fp_rnd fp_rnd_t;\r | |
28 | #ifdef _X86_IEEEFP_H_ /* XXX */\r | |
29 | typedef fp_prec fp_prec_t;\r | |
30 | #endif\r | |
31 | typedef fp_except fp_except_t;\r | |
32 | \r | |
33 | fp_rnd_t fpgetround(void);\r | |
34 | fp_rnd_t fpsetround(fp_rnd_t);\r | |
35 | #ifdef _X86_IEEEFP_H_ /* XXX */\r | |
36 | fp_prec_t fpgetprec(void);\r | |
37 | fp_prec_t fpsetprec(fp_prec_t);\r | |
38 | #endif\r | |
39 | fp_except_t fpgetmask(void);\r | |
40 | fp_except_t fpsetmask(fp_except_t);\r | |
41 | fp_except_t fpgetsticky(void);\r | |
42 | fp_except_t fpsetsticky(fp_except_t);\r | |
43 | fp_except_t fpresetsticky(fp_except_t);\r | |
44 | __END_DECLS\r | |
45 | \r | |
46 | #endif /* _IEEEFP_H_ */\r |