Dataflow Runtime API
4.0.1.0
|
#include <sys/types.h>
Classes | |
union | __fpscr |
Macros | |
#define | __fenv_static static |
#define | FE_INEXACT 0x02000000 |
#define | FE_DIVBYZERO 0x04000000 |
#define | FE_UNDERFLOW 0x08000000 |
#define | FE_OVERFLOW 0x10000000 |
#define | FE_INVALID 0x20000000 /* all types of invalid FP ops */ |
#define | FE_VXCVI 0x00000100 /* invalid integer convert */ |
#define | FE_VXSQRT 0x00000200 /* square root of a negative */ |
#define | FE_VXSOFT 0x00000400 /* software-requested exception */ |
#define | FE_VXVC 0x00080000 /* ordered comparison involving NaN */ |
#define | FE_VXIMZ 0x00100000 /* inf * 0 */ |
#define | FE_VXZDZ 0x00200000 /* 0 / 0 */ |
#define | FE_VXIDI 0x00400000 /* inf / inf */ |
#define | FE_VXISI 0x00800000 /* inf - inf */ |
#define | FE_VXSNAN 0x01000000 /* operation on a signalling NaN */ |
#define | FE_ALL_INVALID |
#define | FE_ALL_EXCEPT |
#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 | _FPUSW_SHIFT 22 |
#define | _ENABLE_MASK |
#define | __mffs(__env) __asm __volatile("mffs %0" : "=f" (*(__env))) |
#define | __mtfsf(__env) __asm __volatile("mtfsf 255,%0" : : "f" (__env)) |
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 __mffs | ( | __env | ) | __asm __volatile("mffs %0" : "=f" (*(__env))) |
#define __mtfsf | ( | __env | ) | __asm __volatile("mtfsf 255,%0" : : "f" (__env)) |
#define _ENABLE_MASK |
#define _FPUSW_SHIFT 22 |
#define _ROUND_MASK |
#define FE_ALL_EXCEPT |
#define FE_ALL_INVALID |
#define FE_DFL_ENV (&__fe_dfl_env) |
#define FE_DIVBYZERO 0x04000000 |
#define FE_DOWNWARD 0x0003 |
#define FE_INEXACT 0x02000000 |
#define FE_INVALID 0x20000000 /* all types of invalid FP ops */ |
#define FE_OVERFLOW 0x10000000 |
#define FE_TONEAREST 0x0000 |
#define FE_TOWARDZERO 0x0001 |
#define FE_UNDERFLOW 0x08000000 |
#define FE_UPWARD 0x0002 |
#define FE_VXCVI 0x00000100 /* invalid integer convert */ |
#define FE_VXIDI 0x00400000 /* inf / inf */ |
#define FE_VXIMZ 0x00100000 /* inf * 0 */ |
#define FE_VXISI 0x00800000 /* inf - inf */ |
#define FE_VXSNAN 0x01000000 /* operation on a signalling NaN */ |
#define FE_VXSOFT 0x00000400 /* software-requested exception */ |
#define FE_VXSQRT 0x00000200 /* square root of a negative */ |
#define FE_VXVC 0x00080000 /* ordered comparison involving NaN */ |
#define FE_VXZDZ 0x00200000 /* 0 / 0 */ |
typedef __uint32_t fenv_t |
typedef __uint32_t fexcept_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
extern |