System.Math.GetPrecisionMode
From RAD Studio API Documentation
Delphi
function GetPrecisionMode: TFPUPrecisionMode;
C++
extern DELPHI_PACKAGE TFPUPrecisionMode __fastcall GetPrecisionMode(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Returns the FPU precision control mode.
Call GetPrecisionMode to ascertain 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 |