Name

isinfinite — Test if a value represents an infinite value.

Syntax

isinfinite(number)
                

The ISINFINITE function has the following arguments:

number

The double value which you want to test for an infinite value.

Description

The isinfinite function will test if the input value represents an infinte value.

Infinite values may result from some types of calculations.

Examples

Formula

Description

Result

isinfinite(1.0)

Test if 1.0 is an infinite value

false

isinfinite(1.0/0.0)

Test if 1.0/0.0 is an infinite value

true