MATLAB Compiler Previous page   Next Page

static double GetInf()

Get value of Inf (infinity).

C++ syntax

Arguments

None

Return value

The value of Inf (infinity) on your system.

Description

Call mwArray::GetInf to return the value of the MATLAB internal Inf variable. Inf is a permanent variable representing IEEE arithmetic positive infinity. The value of Inf is built into the system; you cannot modify it.

Operations that return Inf include:


Previous page  static double GetEps() static bool IsFinite(double x) Next page

© 1994-2005 The MathWorks, Inc.