Set default SPE FP environment
This commit is contained in:
parent
66b2b71df8
commit
2b9a828c99
@ -39,7 +39,11 @@
|
|||||||
#error "This file must be compiled with C99 'inline' semantics"
|
#error "This file must be compiled with C99 'inline' semantics"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __SPE__
|
||||||
|
const fenv_t __fe_dfl_env = SPEFSCR_DFLT;
|
||||||
|
#else
|
||||||
const fenv_t __fe_dfl_env = 0x00000000;
|
const fenv_t __fe_dfl_env = 0x00000000;
|
||||||
|
#endif
|
||||||
|
|
||||||
extern inline int feclearexcept(int __excepts);
|
extern inline int feclearexcept(int __excepts);
|
||||||
extern inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);
|
extern inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user