feraiseexcept Subroutine

If the argument is zero or if all the specified exceptions were successfully raised, the feraiseexcept subroutine returns a zero. Otherwise, it returns a nonzero value.

Purpose

Raises the floating-point exception.

Syntax

#include <fenv.h>

int feraiseexcept (excepts)
int excepts;

Description

The feraiseexcept subroutine attempts to raise the supported floating-point exceptions represented by the excepts parameter. The order in which these floating-point exceptions are raised is unspecified.

Parameters

Item Description
excepts Points to the floating-point exceptions.

Return Values