Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

isInfinity

isInfinity( 
f_flownum 
) 
=> t / nil 

Description

Checks whether the given flownum argument represents infinity (positive or negative).

Arguments

f_flownum

A floating-point number.

Value Returned

t

If f_flownum is infinity (positive or negative).

nil

If f_flownum is not infinity (positive or negative).

Examples

plus_inf = 2.0 * 1e999
isInfinity (plus_inf)
=> t
isInfinity (987.65) 
=> nil

Related Topics

Arithmetic Functions


Return to top
 ⠀
X