FreeBSD/tools/test/testfloat/sparc64/systflags.c
/*
-------------------------------------------------------------------------------
Clears the system's IEC/IEEE floating-point exception flags.  Returns the
previous value of the flags.
-------------------------------------------------------------------------------
*/
Clears the system's IEC/IEEE floating-point exception flags.  Returns the
previous value of the flags.
Clears the system ' s IEC / IEEE floating - point exception flags . Returns the previous value of the flags .
int8 syst_float_flags_clear( void )
{
    fexcept_t flags;
    fegetexceptflag(&flags, FE_ALL_EXCEPT);
    feclearexcept(FE_ALL_EXCEPT);
    return (flags >> 5);
}
int8 syst_float_flags_clear ( void ) { fexcept_t flags ; fegetexceptflag ( & flags , FE_ALL_EXCEPT ) ; feclearexcept ( FE_ALL_EXCEPT ) ; return ( flags >> 5 ) ; }
Clears the system's IEC/IEEE floating-point exception flags.
Clears the system ' s IEC / IEEE floating - point exception flags .