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

Technical Reference: Base Operating System and Extensions, Volume 1

feholdexcept Subroutine

Purpose

Saves current floating-point environment.

Syntax

#include <fenv.h>

int feholdexcept (envp)
fenv_t *envp;

Description

The feholdexcept subroutine saves the current floating-point environment in the object pointed to by envp, clears the floating-point status flags, and installs a non-stop (continue on floating-point exceptions) mode for all floating-point exceptions.

Parameters

envp Points to the current floating-point environment.

Return Values

The feholdexcept subroutine returns zero if non-stop floating-point exception handling was successfully installed.

Related Information

The feupdateenv Subroutine.

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