aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/ansi/include/fenv.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:28:52 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 18:24:51 -0500
commitf5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch)
tree93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/ansi/include/fenv.h
parentbd5969fc876a10b18613302db7087ef3c40f18e1 (diff)
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/ansi/include/fenv.h')
-rw-r--r--lib/mlibc/options/ansi/include/fenv.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/mlibc/options/ansi/include/fenv.h b/lib/mlibc/options/ansi/include/fenv.h
deleted file mode 100644
index 11e38f3..0000000
--- a/lib/mlibc/options/ansi/include/fenv.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-#ifndef _FENV_H
-#define _FENV_H
-
-#include <bits/types.h>
-#include <bits/ansi/fenv.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct {
- __mlibc_uint32 __control_word;
- __mlibc_uint32 __status_word;
- __mlibc_uint32 __unused[5];
- __mlibc_uint32 __mxcsr;
-} fenv_t;
-
-typedef __mlibc_uint16 fexcept_t;
-
-#ifndef __MLIBC_ABI_ONLY
-
-int feclearexcept(int);
-int fegetenv(fenv_t *);
-int fegetexceptflag(fexcept_t *, int);
-int fegetround(void);
-int feholdexcept(fenv_t *);
-int feraiseexcept(int);
-int fesetenv(const fenv_t *);
-int fesetexceptflag(const fexcept_t *, int);
-int fesetround(int);
-int fetestexcept(int);
-int feupdateenv(const fenv_t *);
-
-#endif /* !__MLIBC_ABI_ONLY */
-
-#ifdef __cplusplus
-}
-#endif
-
-#define FE_DFL_ENV ((const fenv_t *) -1)
-
-#endif // _FENV_H
-