RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.Infinity Constant

Infinity represents positive infinity.

Pascal
Infinity = 1.0 / 0.0;
C++
Infinity = 1.0 / 0.0;

Math

Infinity is literally defined as 1.0/0.0 : positive infinity.

Note: Only use Infinity in assignments : use IsInfinite.
 

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