Skip to main content

atan2

The mathematical two-argument inverse trigonometric tangent function.

Returns: decimal

Table 1.

Parameter

Type

x

decimal, double

y

decimal, double



Example

Query

PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/>
PREFIX fn: <http://data.world/function/functions#>

SELECT (fn:atan2(1.0, 1.0) as ?atan2)
{
}

Try the query

Table 2. Results

atan2

0.7854



OSZAR »