-
-
Notifications
You must be signed in to change notification settings - Fork 19
darccos
Vašek edited this page Jan 13, 2019
·
4 revisions
Returns the inverse cosine of value in degrees
darccos(x)| Argument | Description |
|---|---|
double x |
The angle in degrees to inverse cosine |
Returns: double
This function returns the inverse cosine of x in degrees. Any value other than between -1 and 1 returns NaN. If you want to return radians instead of degrees use function arccos().
double value;
value = darccos(0);This code will set value to 90.
double value;
value = darccos(5);This code will set value to NaN.
Back to number_functions