added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / mlib / fenv.c
blob47738ff00ab351afd4e772bee84cd9f82ac6ab7b
1 /*
2 Copyright © 2007, 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.h>
17 const fenv_t __fe_dfl_env = 0;
19 int feclearexcept(int excepts) {
20 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
21 return -1;
24 int fegetexceptflag(fexcept_t *flagp, int excepts) {
25 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
26 return -1;
29 int fesetexceptflag(const fexcept_t *flagp, int excepts) {
30 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
31 return -1;
34 int feraiseexcept(int excepts) {
35 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
36 return -1;
39 int fetestexcept(int excepts) {
40 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
41 return -1;
44 int fegetround(void) {
45 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
46 return -1;
49 int fesetround(int round) {
50 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
51 return -1;
54 int fegetenv(fenv_t *envp) {
55 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
56 return -1;
59 int feholdexcept(fenv_t *envp) {
60 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
61 return -1;
64 int fesetenv(const fenv_t *envp) {
65 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
66 return -1;
69 int feupdateenv(const fenv_t *envp) {
70 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
71 return -1;
74 int feenableexcept(int mask) {
75 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
76 return -1;
79 int fedisableexcept(int mask) {
80 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
81 return -1;
84 int fegetexcept(void) {
85 AROS_FUNCTION_NOT_IMPLEMENTED("arosm");
86 return -1;