System.Math.SetPrecisionMode

From RAD Studio API Documentation
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 Intel FPU precision control mode.

This is an Intel platform dependent function.

This function is considered obsolete (Windows only, not cross-platform), and is not available for NEXTGEN compilers.

You can still change the precision mode by System.Set8087CW on Intel platform, but we do not recommend changing the FPU's precision mode programatically.

See Also