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

Technical Reference: Base Operating System and Extensions, Volume 1

feclearexcept Subroutine

Purpose

Clears floating-point exceptions.

Syntax

#include <fenv.h>

int feclearexcept (excepts)
int excepts;

Description

The feclearexcept subroutine attempts to clear the supported floating-point exceptions represented by the excepts parameter.

Parameters

excepts Specifies the supported floating-point exception to be cleared.

Return Values

If the excepts parameter is zero or if all the specified exceptions were successfully cleared, the feclearexcept subroutine returns zero. Otherwise, it returns a nonzero value.

Related Information

fegetexceptflag or fesetexceptflag Subroutine, feraiseexcept Subroutine, and fetestexcept Subroutine

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