1#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
2type fenv_t
3type fexcept_t
4
5optional-macro-int-constant FE_DIVBYZERO
6optional-macro-int-constant FE_INEXACT
7optional-macro-int-constant FE_INVALID
8optional-macro-int-constant FE_OVERFLOW
9optional-macro-int-constant FE_UNDERFLOW
10macro-int-constant FE_ALL_EXCEPT
11
12optional-macro-int-constant FE_DOWNWARD
13optional-macro-int-constant FE_TONEAREST
14optional-macro-int-constant FE_TOWARDZERO
15optional-macro-int-constant FE_UPWARD
16
17allow FE_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
18
19macro FE_DFL_ENV {const fenv_t *}
20
21function int feclearexcept (int)
22function int fegetexceptflag (fexcept_t*, int)
23function int feraiseexcept (int)
24function int fesetexceptflag (const fexcept_t*, int)
25function int fetestexcept (int)
26function int fegetround (void)
27function int fesetround (int)
28function int fegetenv (fenv_t*)
29function int feholdexcept (fenv_t*)
30function int fesetenv (const fenv_t*)
31function int feupdateenv (const fenv_t *)
32
33#if !defined ISO && !defined ISO99 && !defined ISO11
34allow *_t
35#endif
36#endif
37