Skip to content
Vašek edited this page Jan 13, 2019 · 7 revisions

arctan

Returns the inverse tangent of value in radians

Syntax:

arctan(x)
Argument Description
double x The angle in radians to inverse tangent

Returns: double

Description:

This function returns the inverse tangent of x in radians. If you want to return degrees instead of radians use function darctan().

Example:

double value;
value = arctan(-1);

This code will set value to -0,785398.

Example 2:

double value;
value = arctan(52);

This code will set value to 1,551568.

Back to number_functions

Clone this wiki locally