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();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!