Sets the exception mask on the FPU control word.
function SetExceptionMask(const Mask: TFPUExceptionMask): TFPUExceptionMask;
TFPUExceptionMask SetExceptionMask(const TFPUExceptionMask Mask);
Call SetExceptionMask to specify 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.
SetExceptionMask returns the previous exception mask.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|