delint for clang
[AROS.git] / compiler / stdc / fenv.c
blob8f31f712b376d143699455b2d02f041dfed7d5b2
1 /*
2 Copyright © 2007-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 floating-point environment
6 */
8 /*
9 * The implementation of these functions are architecture-specific, and so are
10 * merely stubs here, provided to allow linking to happen correctly.
13 #include <aros/debug.h>
15 /* Include fenv_t.h directly as including <fenv.h> may cause conflicts
16 * cpu specific static inline version of these functions.
18 #include <aros/types/fenv_t.h>
20 const fenv_t __fe_dfl_env = 0;
22 int feclearexcept(int excepts) {
23 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
24 return -1;
27 int fegetexceptflag(fexcept_t *flagp, int excepts) {
28 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
29 return -1;
32 int fesetexceptflag(const fexcept_t *flagp, int excepts) {
33 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
34 return -1;
37 int feraiseexcept(int excepts) {
38 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
39 return -1;
42 int fetestexcept(int excepts) {
43 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
44 return -1;
47 int fegetround(void) {
48 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
49 return -1;
52 int fesetround(int round) {
53 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
54 return -1;
57 int fegetenv(fenv_t *envp) {
58 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
59 return -1;
62 int feholdexcept(fenv_t *envp) {
63 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
64 return -1;
67 int fesetenv(const fenv_t *envp) {
68 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
69 return -1;
72 int feupdateenv(const fenv_t *envp) {
73 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
74 return -1;
77 int feenableexcept(int mask) {
78 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
79 return -1;
82 int fedisableexcept(int mask) {
83 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
84 return -1;
87 int fegetexcept(void) {
88 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
89 return -1;