sqrt
double sqrt (double inputValue);
Purpose
Computes the nonnegative square root of the specified argument. A negative argument will cause a domain error.
Parameters
Input | ||
Name | Type | Description |
inputValue | double | Contains the value from which the square root is taken. Entering a negative value causes a domain error. |
Return Value
Name | Type | Description |
result | double | Contains the resulting square root value. If inputValue is negative, sqrt returns NaN and sets errno to EDOM . |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later