acos
double acos (double inputValue);
Purpose
Computes the principal value of the arc cosine of the specified argument. A domain error occurs when the argument is not in the range [-1,1].
Parameters
Input | ||
Name | Type | Description |
inputValue | double | Contains the argument to the function. If the value is not in the range [-1,1], a domain error occurs. |
Return Value
Name | Type | Description |
result | double | Contains the resulting arc cosine value. The value is in the range [0,PI] radians. If inputValue is not in the range [-1,1], acos 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