RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.IsInfinite Function

Indicates when a variable or expression represents an infinite value.

Pascal
function IsInfinite(const AValue: Double): Boolean;
C++
Boolean IsInfinite(const Double AValue);

Use IsInfinite to test whether the value specified by AValue represents positive or negative infinity. Use the Sign function to distinguish positive infinity from negative infinity. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!