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;

Math

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

Note: Only use NegInfinity in assignments : use IsInfinite.
 

Infinity 

IsInfinity 

IsInfinite

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!