7.6.2.3 The feraiseexcept function
Synopsis
#include <fenv.h>
int feraiseexcept(int excepts);
Description
The feraiseexcept function attempts to raise the supported floating-point exceptions represented by its argument.[1] The order in which these floating-point exceptions are raised is unspecified, except as stated in F.7.6. Whether the feraiseexcept function additionally raises the “inexact” floating-point exception whenever it raises the “overflow” or “underflow” floating-point exception is implementation-defined.
Returns
The feraiseexcept function returns zero if the excepts argument is zero or if all the specified exceptions were successfully raised. Otherwise, it returns a nonzero value.
Footnotes