The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

feupdateenv (3)
  • feupdateenv (3) ( Solaris man: Библиотечные вызовы )
  • >> feupdateenv (3) ( FreeBSD man: Библиотечные вызовы )
  • feupdateenv (3) ( Русские man: Библиотечные вызовы )
  • feupdateenv (3) ( Linux man: Библиотечные вызовы )
  • feupdateenv (3) ( POSIX man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    fegetenv
    
     
    feholdexcept
    
     
    fesetenv
    
     
    feupdateenv
    
     - floating-point environment save and restore
    
     
    

    LIBRARY

    Lb libm
    
     
    

    SYNOPSIS

       #include <fenv.h>
    Fd #pragma STDC FENV_ACCESS ON int fegetenv (fenv_t *envp);
    int feholdexcept (fenv_t *envp);
    int fesetenv (const fenv_t *envp);
    int feupdateenv (const fenv_t *envp);
     

    DESCRIPTION

    The floating-point environment includes exception flags and masks, the current rounding mode, and other architecture-specific settings. However, it does not include the floating-point register file.

    The fegetenv ();
    function stores the current floating-point environment in the object pointed to by Fa envp , whereas feholdexcept ();
    saves the current environment, then clears all exception flags and masks all floating-point exceptions.

    The fesetenv ();
    function restores a previously saved environment. The feupdateenv ();
    function restores a saved environment as well, but it also raises any exceptions that were set in the environment it replaces.

    The feholdexcept ();
    function is often used with feupdateenv ();
    or fesetenv ();
    to suppress spurious exceptions that occur as a result of intermediate computations. An example in fenv(3) demonstrates how to do this.  

    RETURN VALUES

    The fegetenv (,);
    feholdexcept (,);
    fesetenv (,);
    and feupdateenv ();
    functions return 0 if they succeed, and non-zero otherwise.  

    SEE ALSO

    feclearexcept(3), fenv(3), feraiseexcept(3), fesetenv(3), fetestexcept(3), fpgetmask(3), fpgetprec(3), fpsetmask(3), fpsetprec(3)  

    STANDARDS

    The fegetenv (,);
    feholdexcept (,);
    fesetenv (,);
    and feupdateenv ();
    functions conform to St -isoC-99 .  

    HISTORY

    These routines first appeared in Fx 5.3 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    STANDARDS
    HISTORY


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру