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

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. 

 

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