Finite float

From RAD Studio
Jump to: navigation, search

Go Up to Delphi Compiler Directives (List) Index


Type

Switch

Syntax

{$FINITEFLOAT ON} or {$FINITEFLOAT OFF}

Default

{$FINITEFLOAT ON}

Scope

Local


Remarks

This directive controls how floating-point exceptions are handled. Use it to restrict floating-point calculations to only finite values. When enabled, exceptional values and infinite values are not allowed.


See Also