LabWindows/CVI

IsInfinity

int IsInfinity (double number);

Purpose

Checks if the input is infinity (Inf).

Parameters

Input
Name Type Description
number double Input the double precision quantity to be checked.

Return Value

Name Type Description
result int Result is 1 for positive infinity (+Inf), -1 for negative infinity (-Inf), and 0 otherwise.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later

Log in to get a better experience