MicrOS
feraiseexcept.c File Reference
#include "../fenv.h"

Functions

int feraiseexcept (int excepts)
 Raise FPU exception flags. More...
 

Function Documentation

◆ feraiseexcept()

int feraiseexcept ( int  excepts)

Raise FPU exception flags.

Function attempts to raise the supported floating-point exceptions represented by its argument.

Parameters
exceptsException flags to raise.
Returns
Function returns zero if the excepts argument is zero or if all the specified exceptions were successfully raised. Otherwise, it returns a nonzero value.