Dataflow Runtime API
4.0.1.0
|
#include <sys/types.h>
Macros | |
#define | __fenv_static static |
#define | FE_INEXACT 0x080000 |
#define | FE_UNDERFLOW 0x100000 |
#define | FE_OVERFLOW 0x200000 |
#define | FE_DIVBYZERO 0x400000 |
#define | FE_INVALID 0x800000 /* all types of invalid FP ops */ |
#define | FE_ALL_EXCEPT (FE_INVALID | FE_DIVBYZERO | FE_INEXACT | FE_OVERFLOW | FE_UNDERFLOW) |
#define | FE_TONEAREST 0x0000 |
#define | FE_TOWARDZERO 0x0001 |
#define | FE_UPWARD 0x0002 |
#define | FE_DOWNWARD 0x0003 |
#define | _ROUND_MASK |
#define | FE_DFL_ENV (&__fe_dfl_env) |
#define | _FPC_EXC_MASK_SHIFT 8 |
#define | _ENABLE_MASK |
#define | _FPU_GETCW(cw) __asm__ __volatile__ ("efpc %0,0" : "=d" (cw)) |
#define | _FPU_SETCW(cw) __asm__ __volatile__ ("sfpc %0,0" : : "d" (cw)) |
Typedefs | |
typedef __uint32_t | fenv_t |
typedef __uint32_t | fexcept_t |
Functions | |
__fenv_static int | feclearexcept (int __excepts) |
__fenv_static int | fegetexceptflag (fexcept_t *__flagp, int __excepts) |
__fenv_static int | fesetexceptflag (const fexcept_t *__flagp, int __excepts) |
__fenv_static int | feraiseexcept (int __excepts) |
__fenv_static int | fetestexcept (int __excepts) |
__fenv_static int | fegetround (void) |
__fenv_static int | fesetround (int __round) |
__fenv_static int | fegetenv (fenv_t *__envp) |
__fenv_static int | feholdexcept (fenv_t *__envp) |
__fenv_static int | fesetenv (const fenv_t *__envp) |
__fenv_static int | feupdateenv (const fenv_t *__envp) |
Variables | |
__BEGIN_DECLS const fenv_t | __fe_dfl_env |
#define __fenv_static static |
#define _ENABLE_MASK |
#define _FPC_EXC_MASK_SHIFT 8 |
#define _FPU_GETCW | ( | cw | ) | __asm__ __volatile__ ("efpc %0,0" : "=d" (cw)) |
#define _FPU_SETCW | ( | cw | ) | __asm__ __volatile__ ("sfpc %0,0" : : "d" (cw)) |
#define _ROUND_MASK |
#define FE_ALL_EXCEPT (FE_INVALID | FE_DIVBYZERO | FE_INEXACT | FE_OVERFLOW | FE_UNDERFLOW) |
#define FE_DFL_ENV (&__fe_dfl_env) |
#define FE_DIVBYZERO 0x400000 |
#define FE_DOWNWARD 0x0003 |
#define FE_INEXACT 0x080000 |
#define FE_INVALID 0x800000 /* all types of invalid FP ops */ |
#define FE_OVERFLOW 0x200000 |
#define FE_TONEAREST 0x0000 |
#define FE_TOWARDZERO 0x0001 |
#define FE_UNDERFLOW 0x100000 |
#define FE_UPWARD 0x0002 |
typedef __uint32_t fenv_t |
typedef __uint32_t fexcept_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
extern |