RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.GetExceptionMask Function

Returns the exception mask from the FPU control word.

Pascal
function GetExceptionMask: TFPUExceptionMask;
C++
TFPUExceptionMask GetExceptionMask();

Math

Call GetExceptionMask to ascertain the types of exceptions the FPU (floating-point unit) generates. Any element set in this mask prevents the FPU from raising the corresponding type of exception. Instead, the FPU returns its best attempt at a value – often NaN, Infinity, or NegInfinity. The value depends on the operation and the current rounding mode. 

 

Set8087CW 

SetExceptionMask 

NaN 

Infinity 

NegInfinity 

IsInfinite 

IsNaN

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