FunctionDefine the action taken in the case of INTEGER OVERFLOW and INTEGER DOMAIN errors.
Syntax C/C++#include <VecLib.h>
typedef enum {
    ierrIgnore = 0, ierrNote, ierrAbort
} V_ihand;
void V_setIntErrorHandling( V_ihand ihand );
Pascal/Delphiuses VecLib;
type V_ihand = 0..2;
procedure V_setIntErrorHandling( ihand:V_iHand );
DescriptionThis function allows to set the handling mode for OVERFLOW and DOMAIN errors occurring within integer functions of OptiVec. It has to be called with one of the following pre-defined constants as argument:
    ierrIgnore = 0;
    ierrNote = 1;
    ierrAbort = 2;

The default is that these errors are ignored, i.e., they are treated by discarding overflowing bits (see chapter 5.2 for details on integer error handling). If you wish to change this behaviour, call, e.g.,
V_setIntErrorHandling( ierrNote );
and add the letter "o" to the prefixes of those integer functions for which you wish to trap errors: VIo_,   VUSo_, etc.
Error handlingnone
Return valuenone
See alsoV_setFPErrorHandling,   V_setErrorEventFile,   V_noteError,   V_printErrorMsg,  chapter 5.2

VectorLib Table of Contents  OptiVec home