Dataflow Runtime API
4.0.1.0
|
Macros | |
#define | __fenv_static static |
#define | FE_INVALID 0x0010 |
#define | FE_DIVBYZERO 0x0008 |
#define | FE_OVERFLOW 0x0004 |
#define | FE_UNDERFLOW 0x0002 |
#define | FE_INEXACT 0x0001 |
#define | FE_ALL_EXCEPT |
#define | _ROUND_SHIFT 5 |
#define | FE_TONEAREST (0x00 << _ROUND_SHIFT) |
#define | FE_TOWARDZERO (0x01 << _ROUND_SHIFT) |
#define | FE_DOWNWARD (0x02 << _ROUND_SHIFT) |
#define | FE_UPWARD (0x03 << _ROUND_SHIFT) |
#define | _ROUND_MASK |
#define | FE_DFL_ENV (&__fe_dfl_env) |
#define | __rfs(__fcsr) __asm __volatile("csrr %0, fcsr" : "=r" (__fcsr)) |
#define | __wfs(__fcsr) __asm __volatile("csrw fcsr, %0" :: "r" (__fcsr)) |
Typedefs | |
typedef __uint64_t | fenv_t |
typedef __uint64_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 __rfs | ( | __fcsr | ) | __asm __volatile("csrr %0, fcsr" : "=r" (__fcsr)) |
#define __wfs | ( | __fcsr | ) | __asm __volatile("csrw fcsr, %0" :: "r" (__fcsr)) |
#define _ROUND_MASK |
#define _ROUND_SHIFT 5 |
#define FE_ALL_EXCEPT |
#define FE_DFL_ENV (&__fe_dfl_env) |
#define FE_DIVBYZERO 0x0008 |
#define FE_DOWNWARD (0x02 << _ROUND_SHIFT) |
#define FE_INEXACT 0x0001 |
#define FE_INVALID 0x0010 |
#define FE_OVERFLOW 0x0004 |
#define FE_TONEAREST (0x00 << _ROUND_SHIFT) |
#define FE_TOWARDZERO (0x01 << _ROUND_SHIFT) |
#define FE_UNDERFLOW 0x0002 |
#define FE_UPWARD (0x03 << _ROUND_SHIFT) |
typedef __uint64_t fenv_t |
typedef __uint64_t fexcept_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
extern |