RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.SetPrecisionMode Function

Sets the FPU precision control mode.

Pascal
function SetPrecisionMode(const Precision: TFPUPrecisionMode): TFPUPrecisionMode;
C++
TFPUPrecisionMode SetPrecisionMode(const TFPUPrecisionMode Precision);

Math

Call SetPrecisionMode to specify the level of precision that the FPU (floating-point unit) uses for floating-point calculations. The precision control mode can be any of the following values:

Value 
Meaning 
pmSingle  
single precision  
pmReserved  
not used  
pmDouble  
double precision  
pmExtended  
extended precision  

SetPrecisionMode returns the previous precision control mode. 

 

Set8087CW 

GetPrecisionMode

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