aboutsummaryrefslogtreecommitdiff
path: root/conform/data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-02 23:21:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-02 23:21:36 +0000
commita68d0680f89b5f3639b30ec7955671d97e101e87 (patch)
treeb1500bba2e18333a08f60932ae190d2d8759c762 /conform/data
parentcaf7f573e9061e5b11d20723b0b2313ed4698dfc (diff)
downloadglibc-a68d0680f89b5f3639b30ec7955671d97e101e87.zip
glibc-a68d0680f89b5f3639b30ec7955671d97e101e87.tar.gz
glibc-a68d0680f89b5f3639b30ec7955671d97e101e87.tar.bz2
conformtest: Add test data for fenv.h.
Diffstat (limited to 'conform/data')
-rw-r--r--conform/data/fenv.h-data36
1 files changed, 36 insertions, 0 deletions
diff --git a/conform/data/fenv.h-data b/conform/data/fenv.h-data
new file mode 100644
index 0000000..bb33d4b
--- /dev/null
+++ b/conform/data/fenv.h-data
@@ -0,0 +1,36 @@
+#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
+type fenv_t
+type fexcept_t
+
+optional-macro-int-constant FE_DIVBYZERO
+optional-macro-int-constant FE_INEXACT
+optional-macro-int-constant FE_INVALID
+optional-macro-int-constant FE_OVERFLOW
+optional-macro-int-constant FE_UNDERFLOW
+macro-int-constant FE_ALL_EXCEPT
+
+optional-macro-int-constant FE_DOWNWARD
+optional-macro-int-constant FE_TONEAREST
+optional-macro-int-constant FE_TOWARDZERO
+optional-macro-int-constant FE_UPWARD
+
+allow FE_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
+
+macro FE_DFL_ENV {const fenv_t *}
+
+function int feclearexcept (int)
+function int fegetexceptflag (fexcept_t*, int)
+function int feraiseexcept (int)
+function int fesetexceptflag (const fexcept_t*, int)
+function int fetestexcept (int)
+function int fegetround (void)
+function int fesetround (int)
+function int fegetenv (fenv_t*)
+function int feholdexcept (fenv_t*)
+function int fesetenv (const fenv_t*)
+function int feupdateenv (const fenv_t *)
+
+#if !defined ISO && !defined ISO99 && !defined ISO11
+allow *_t
+#endif
+#endif