System.Math.SetPrecisionMode

From RAD Studio API Documentation
Revision as of 17:06, 16 October 2011 by TestAccount (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function SetPrecisionMode(const Precision: TFPUPrecisionMode): TFPUPrecisionMode;

C++

extern DELPHI_PACKAGE TFPUPrecisionMode __fastcall SetPrecisionMode(const TFPUPrecisionMode Precision);

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Sets the FPU precision control mode.

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.

See Also

Personal tools
Translations