Skip to main content

atan2

The mathematical two-argument inverse trigonometric tangent function.

Parameter

Type

x

decimal, double

y

decimal, double

Returns: decimal

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)
{
}

Run query

Results:

atan2

0.7854