INFINITY()

INFINITY()

Returns the largest floating point number available in the system

Syntax

      INFINITY( [<lPlatformIndependant>] ) --> nLargestNumber

Arguments

[<lPlatformIndependant>] .T., if the function should return the maximum floating point value available (DBL_MAX) .F., function should try to return the same value as the original CT3 lib did Default: .F.

Returns

<nLargestNumber> the largest floating point number available in the system

Description

INFINITY() returns the largest floating point number available in the system. For platform independance, this is set to DBL_MAX.

Compliance

INFINITY() must not necessarily return the same number as CT3’s INFINITY().

Platforms

All

Files

Source is num1.c, library is libct.

2 responses to “INFINITY()

  1. Pingback: Harbour All Functions – I | Viva Clipper !

  2. Pingback: Harbour Math Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.