2 Copyright © 2007-2013, The AROS Development Team. All rights reserved.
5 C99 floating-point environment
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");
27 int fegetexceptflag(fexcept_t
*flagp
, int excepts
) {
28 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
32 int fesetexceptflag(const fexcept_t
*flagp
, int excepts
) {
33 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
37 int feraiseexcept(int excepts
) {
38 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
42 int fetestexcept(int excepts
) {
43 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
47 int fegetround(void) {
48 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
52 int fesetround(int round
) {
53 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
57 int fegetenv(fenv_t
*envp
) {
58 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
62 int feholdexcept(fenv_t
*envp
) {
63 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
67 int fesetenv(const fenv_t
*envp
) {
68 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
72 int feupdateenv(const fenv_t
*envp
) {
73 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
77 int feenableexcept(int mask
) {
78 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
82 int fedisableexcept(int mask
) {
83 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");
87 int fegetexcept(void) {
88 AROS_FUNCTION_NOT_IMPLEMENTED("stdc");