MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Mathematical Library Functions                  feraiseexcept(3M)



NAME
     feraiseexcept - raise floating-point exception

SYNOPSIS
     c99 [ flag... ] file... -lm [ library... ]
     #include 

     int feraiseexcept(int excepts);


DESCRIPTION
     The feraiseexcept() function attempts to raise the supported
     floating-point  exceptions  represented by the excepts argu-
     ment. The order in which these floating-point exceptions are
     raised is unspecified.

RETURN VALUES
     If excepts is 0 or if all the specified exceptions were suc-
     cessfully  raised,  feraiseexcept() returns 0. Otherwise, it
     returns a non-zero value.

ERORS
     No errors are defined.

USAGE
     The effect is intended to be similar to  that  of  floating-
     point  exceptions  raised  by  arithmetic operations. Hence,
     enabled traps for floating-point exceptions raised  by  this
     function are taken.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     feclearexcept(3M),    fegetexceptflag(3M),    fenv.h(3HEAD),
     fetestexcept(3M), attributes(5), standards(5)







SunOS 5.11          Last change: 12 Jul 2006                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™