diff options
Diffstat (limited to 'libm/sh/fesetenv.c')
-rw-r--r-- | libm/sh/fesetenv.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libm/sh/fesetenv.c b/libm/sh/fesetenv.c deleted file mode 100644 index c5cfc1d51..000000000 --- a/libm/sh/fesetenv.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * - * Copyright (c) 2007 STMicroelectronics Ltd - * Filippo Arcidiacono (filippo.arcidiacono@st.com) - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - * - * Taken from glibc 2.6 - * - */ - -#include <fenv.h> -#include <fpu_control.h> - -int -fesetenv (const fenv_t *envp) -{ - if (envp == FE_DFL_ENV) - _FPU_SETCW (_FPU_DEFAULT); - else - { - unsigned long int temp = envp->__fpscr; - _FPU_SETCW (temp); - } - return 0; -} |