RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EUnderflow Class

EUnderflow is the exception class for values that are too small to be represented with a floating-point variable.

Pascal
EUnderflow = class(EMathError);
C++
class EUnderflow : public EMathError;

SysUtils

When a floating-point math operation produces a value that is too small to be represented in a floating-point variable, the result ordinarily becomes zero. However, an application can change the numeric coprocessor's control word to unmask underflow hardware exceptions. In this case, EUnderflow is raised when the processor reports an underflow hardware exception. The control word is reset after the exception. 

Run-time exception information is saved in fields provided by EExternal

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!