Math.SetPrecisionMode

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Math.pas

	function SetPrecisionMode(const Precision: TFPUPrecisionMode): TFPUPrecisionMode;


Unit: Math

Type: function

Visibility: public

C++ Information

From Math.hpp

	Math::TFPUPrecisionMode __fastcall SetPrecisionMode(Math::TFPUPrecisionMode Precision);


Unit: Math

Type: function

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
Newest Version