Name

Default8087CW Variable

Syntax

var Default8087CW: Word;

Description

Delphi sets the floating-point unit (FPU) control word to the value stored in Default8087CW. You can set the control word by calling Set8087CW, and Delphi automatically saves the new control word in Default8087CW.

Note that some DLLs change the FPU control word. You can call SysUtils.SafeLoadLibrary, which ensures that the FPU control word is restored to Default8087CW after loading the library.

See the Set8087CW procedure for more information about the floating-point control word.

See Also

Set8087CW Procedure

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.