Admin Production ni-theme
Current Publication

exp

LabWindows/CVI

exp

double exp (double inputValue);

Purpose

Computes the exponential function of the specified argument. If inputValue is large enough to cause the function to return a value that cannot be represented as a double, this may cause a range error.

Parameters

Input
Name Type Description
inputValue double Contains the argument to the function. If this value is large enough to cause the function to return infinity, it causes a range error.

Return Value

Name Type Description
result double Contains the resulting exponential function value. If the argument to the function is too large, exp returns Inf and sets errno to ERANGE .

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Examples

Refer to the following examples that use the exp function:

  • analysis\nlinfit.cws

    Open example
  • analysis\nonlnfit.cws

    Open example
  • userint\gridview.cws

    Open example