aboutsummaryrefslogtreecommitdiff
path: root/math/fenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/fenv.h')
-rw-r--r--math/fenv.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/math/fenv.h b/math/fenv.h
index 8e83246..3542837 100644
--- a/math/fenv.h
+++ b/math/fenv.h
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
/*
- * ISO C 9X 7.6: Floating-point environment <fenv.h>
+ * ISO C99 7.6: Floating-point environment <fenv.h>
*/
#ifndef _FENV_H
@@ -62,18 +62,18 @@ __BEGIN_DECLS
/* Floating-point exception handling. */
/* Clear the supported exceptions represented by EXCEPTS. */
-extern void feclearexcept (int __excepts) __THROW;
+extern int feclearexcept (int __excepts) __THROW;
/* Store implementation-defined representation of the exception flags
indicated by EXCEPTS in the object pointed to by FLAGP. */
-extern void fegetexceptflag (fexcept_t *__flagp, int __excepts) __THROW;
+extern int fegetexceptflag (fexcept_t *__flagp, int __excepts) __THROW;
/* Raise the supported exceptions represented by EXCEPTS. */
-extern void feraiseexcept (int __excepts) __THROW;
+extern int feraiseexcept (int __excepts) __THROW;
/* Set complete status for exceptions indicated by EXCEPTS according to
the representation in the object pointed to by FLAGP. */
-extern void fesetexceptflag (__const fexcept_t *__flagp, int __excepts) __THROW;
+extern int fesetexceptflag (__const fexcept_t *__flagp, int __excepts) __THROW;
/* Determine which of subset of the exceptions specified by EXCEPTS are
currently set. */
@@ -93,7 +93,7 @@ extern int fesetround (int __rounding_direction) __THROW;
/* Store the current floating-point environment in the object pointed
to by ENVP. */
-extern void fegetenv (fenv_t *__envp) __THROW;
+extern int fegetenv (fenv_t *__envp) __THROW;
/* Save the current environment in the object pointed to by ENVP, clear
exception flags and install a non-stop mode (if available) for all
@@ -102,12 +102,12 @@ extern int feholdexcept (fenv_t *__envp) __THROW;
/* Establish the floating-point environment represented by the object
pointed to by ENVP. */
-extern void fesetenv (__const fenv_t *__envp) __THROW;
+extern int fesetenv (__const fenv_t *__envp) __THROW;
/* Save current exceptions in temporary storage, install environment
represented by object pointed to by ENVP and raise exceptions
according to saved exceptions. */
-extern void feupdateenv (__const fenv_t *__envp) __THROW;
+extern int feupdateenv (__const fenv_t *__envp) __THROW;
__END_DECLS