diff options
Diffstat (limited to 'src/fenv/fenv.c')
-rw-r--r-- | src/fenv/fenv.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/fenv/fenv.c b/src/fenv/fenv.c new file mode 100644 index 00000000..f77599bc --- /dev/null +++ b/src/fenv/fenv.c @@ -0,0 +1,38 @@ +#include <fenv.h> + +/* Dummy functions for archs lacking fenv implementation */ + +int feclearexcept(int mask) +{ + return 0; +} + +int feraiseexcept(int mask) +{ + return 0; +} + +int fetestexcept(int mask) +{ + return 0; +} + +int fegetround(void) +{ + return 0; +} + +int fesetround(int r) +{ + return 0; +} + +int fegetenv(fenv_t *envp) +{ + return 0; +} + +int fesetenv(const fenv_t *envp) +{ + return 0; +} |