RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.NegInfinity Constant

NegInfinity represents negative infinity.

Pascal
NegInfinity = -1.0 / 0.0;
C++
NegInfinity = -1.0 / 0.0;

NegInfinity is literally defined as -1.0/0.0 : negative infinity.

Note: Only use NegInfinity in assignments : use IsInfinite.
 

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