feholdexcept man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

feholdexcept(3M)	Mathematical Library Functions	      feholdexcept(3M)

NAME
       feholdexcept - save current floating-point environment

SYNOPSIS
       c99 [ flag... ] file... -lm [ library... ]
       #include <fenv.h>

       int feholdexcept(fenv_t *envp);

DESCRIPTION
       The  feholdexcept()  function saves the current floating-point environ‐
       ment in the object pointed to by envp, clears the floating-point status
       flags,  and then installs a non-stop (continue on floating-point excep‐
       tions) mode, if available, for all floating-point exceptions.

RETURN VALUES
       The feholdexcept() function returns 0 if and only if non-stop floating-
       point exception handling was successfully installed.

ERRORS
       No errors are defined.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Standard			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       fegetenv(3M),   fenv.h(3HEAD),  feupdateenv(3M),	 attributes(5),	 stan‐
       dards(5)

NOTES
       In a multithreaded program, the	feholdexcept()	function  affects  the
       floating point environment only for the calling thread.

       The  feholdexcept()  function  automatically  installs  and  deinstalls
       SIGFPE handlers and sets and clears the trap enable mode	 bits  in  the
       floating point status register as needed. If a program uses these func‐
       tions and attempts to install a SIGFPE  handler	or  control  the  trap
       enable mode bits independently, the resulting behavior is not defined.

SunOS 5.10			  12 Jul 2006		      feholdexcept(3M)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net