aboutsummaryrefslogtreecommitdiff
path: root/math/fenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/fenv.h')
-rw-r--r--math/fenv.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/math/fenv.h b/math/fenv.h
index aa524b7..8e83246 100644
--- a/math/fenv.h
+++ b/math/fenv.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -62,52 +62,52 @@ __BEGIN_DECLS
/* Floating-point exception handling. */
/* Clear the supported exceptions represented by EXCEPTS. */
-extern void feclearexcept __P ((int __excepts));
+extern void 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 __P ((fexcept_t *__flagp, int __excepts));
+extern void fegetexceptflag (fexcept_t *__flagp, int __excepts) __THROW;
/* Raise the supported exceptions represented by EXCEPTS. */
-extern void feraiseexcept __P ((int __excepts));
+extern void 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 __P ((__const fexcept_t *__flagp, int __excepts));
+extern void fesetexceptflag (__const fexcept_t *__flagp, int __excepts) __THROW;
/* Determine which of subset of the exceptions specified by EXCEPTS are
currently set. */
-extern int fetestexcept __P ((int __excepts));
+extern int fetestexcept (int __excepts) __THROW;
/* Rounding control. */
/* Get current rounding direction. */
-extern int fegetround __P ((void));
+extern int fegetround (void) __THROW;
/* Establish the rounding direction represented by ROUND. */
-extern int fesetround __P ((int __rounding_direction));
+extern int fesetround (int __rounding_direction) __THROW;
/* Floating-point environment. */
/* Store the current floating-point environment in the object pointed
to by ENVP. */
-extern void fegetenv __P ((fenv_t *__envp));
+extern void 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
exceptions. */
-extern int feholdexcept __P ((fenv_t *__envp));
+extern int feholdexcept (fenv_t *__envp) __THROW;
/* Establish the floating-point environment represented by the object
pointed to by ENVP. */
-extern void fesetenv __P ((__const fenv_t *__envp));
+extern void 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 __P ((__const fenv_t *__envp));
+extern void feupdateenv (__const fenv_t *__envp) __THROW;
__END_DECLS