[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

feraiseexcept Subroutine

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

excepts Points to the floating-point exceptions.

Return Values

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.

Related Information

feclearexcept Subroutine, fegetexceptflag or fesetexceptflag Subroutine, fetestexcept Subroutine.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]